Skip to content

Commit fc8c176

Browse files
committed
Don't bother trying to import if the platform isnt supported anyway
1 parent 05a62d0 commit fc8c176

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_interpreters.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ def test_interpreters():
1616

1717
sys.path.append(".")
1818

19-
import mod_test_interpreters as m
20-
2119
i = None
2220
try:
2321
# 3.14+
@@ -34,6 +32,8 @@ def test_interpreters():
3432
pytest.skip("Test requires a the interpreters stdlib module")
3533
return
3634

35+
import mod_test_interpreters as m
36+
3737
code = """
3838
import mod_test_interpreters as m
3939
import pickle

0 commit comments

Comments
 (0)