Skip to content

Commit

Permalink
platform.system()
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnaf-tahmid-chowdhury committed May 20, 2024
1 parent b9ffbae commit 8cc4f57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_material.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Material tests"""
import os
import platform
from copy import deepcopy
import warnings

Expand Down Expand Up @@ -2212,7 +2213,7 @@ def test_decay_u235_h3():
# full decay is not installed
pytest.skip("full decay is not installed")

if os.name == "darwin":
if platform.system() == "Darwin":
# FIXME: On MacOS, it was observed that Nd144
# with a value of 8.996484819074119e-40 is dropped
# (https://github.com/pyne/pyne/issues/1539)
Expand Down

0 comments on commit 8cc4f57

Please sign in to comment.