Skip to content

Commit 3074c43

Browse files
committed
Add current dir to test's sys.path
1 parent fa328b1 commit 3074c43

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_interpreters.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@
1010
def test_interpreters():
1111
"""Makes sure the internals object differs across subinterpreters"""
1212

13-
import mod_test_interpreters as m
14-
1513
if sys.version_info < (3, 12):
1614
pytest.skip("Test requires independent subinterpreter support (3.12+)")
1715
return
16+
17+
sys.path.append(".")
18+
19+
import mod_test_interpreters as m
1820

1921
i = None
2022
try:

0 commit comments

Comments
 (0)