Skip to content

Commit

Permalink
skip exception tests on Apple Silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
slayoo committed May 17, 2024
1 parent 18b3c2f commit 7069e0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_aero_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ def test_segfault_case(): # TODO #319
ppmc.AeroMode(aero_data, fishy_ctor_arg)

@staticmethod
@pytest.mark.skipif(platform.machine() == "arm64", reason="TODO #348")
def test_sampled_without_size_dist():
# arrange
aero_data = ppmc.AeroData(AERO_DATA_CTOR_ARG_MINIMAL)
Expand Down Expand Up @@ -318,6 +319,7 @@ def test_sampled_without_size_dist():
[{"num_conc": None, "": None}, {}],
),
)
@pytest.mark.skipif(platform.machine() == "arm64", reason="TODO #348")
def test_sampled_with_fishy_size_dist(fishy):
# arrange
aero_data = ppmc.AeroData(AERO_DATA_CTOR_ARG_MINIMAL)
Expand All @@ -337,6 +339,7 @@ def test_sampled_with_fishy_size_dist(fishy):
)

@staticmethod
@pytest.mark.skipif(platform.machine() == "arm64", reason="TODO #348")
def test_sampled_with_diam_of_different_len_than_num_conc():
# arrange
aero_data = ppmc.AeroData(AERO_DATA_CTOR_ARG_MINIMAL)
Expand Down

0 comments on commit 7069e0c

Please sign in to comment.