Skip to content

Commit

Permalink
Only test ScaleneAppleGPU on Darwin platforms (revised redux).
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryberger committed Dec 31, 2024
1 parent 2415d1b commit 14e8894
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_coverup_18.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import platform

if platform.system() != "Darwin":
pytest.skip("This test only runs on Darwin platforms.")
pytest.skip("This test only runs on Darwin platforms.",allow_module_level=True)

# Assuming the class ScaleneAppleGPU is defined elsewhere in the module
from scalene.scalene_apple_gpu import ScaleneAppleGPU
Expand Down
2 changes: 1 addition & 1 deletion tests/test_coverup_27.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from unittest.mock import patch

if platform.system() != "Darwin":
pytest.skip("This test only runs on Darwin platforms.")
pytest.skip("This test only runs on Darwin platforms.",allow_module_level=True)

# Assuming the ScaleneAppleGPU class is in a module named scalene_apple_gpu
from scalene.scalene_apple_gpu import ScaleneAppleGPU
Expand Down
2 changes: 1 addition & 1 deletion tests/test_coverup_57.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from typing import Tuple

if platform.system() != "Darwin":
pytest.skip("This test only runs on Darwin platforms.")
pytest.skip("This test only runs on Darwin platforms.",allow_module_level=True)

from scalene.scalene_apple_gpu import ScaleneAppleGPU

Expand Down

0 comments on commit 14e8894

Please sign in to comment.