Skip to content

Commit 17fb08c

Browse files
committed
adjust PYTHONPATH for test_4_daemon_threads
1 parent a3e1049 commit 17fb08c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/lib-python/3/test/test_threading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,7 @@ def main():
13131313
main()
13141314
"""
13151315
# GraalPy change: propagate PYTHONPATH to be able to import the test module
1316-
rc, out, err = assert_python_ok('-c', script, PYTHONPATH=os.environ.get('PYTHONPATH', ''))
1316+
rc, out, err = assert_python_ok('-c', script, PYTHONPATH=os.pathsep.join(sys.path))
13171317
self.assertFalse(err)
13181318

13191319
def test_thread_from_thread(self):

0 commit comments

Comments
 (0)