Skip to content

Commit e8e7524

Browse files
committed
backport threading test change from python 3.11
1 parent 8a6f6b5 commit e8e7524

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,8 +856,9 @@ def test_4_daemon_threads(self):
856856
857857
def random_io():
858858
'''Loop for a while sleeping random tiny amounts and doing some I/O.'''
859+
import test.test_threading as mod
859860
while True:
860-
with open(os.__file__, 'rb') as in_f:
861+
with open(mod.__file__, 'rb') as in_f:
861862
stuff = in_f.read(200)
862863
with open(os.devnull, 'wb') as null_f:
863864
null_f.write(stuff)

0 commit comments

Comments
 (0)