Skip to content

Commit 3358fee

Browse files
committed
fix deadlock in test
1 parent e8d55cb commit 3358fee

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
@@ -856,7 +856,7 @@ 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
859+
import __future__ as mod
860860
while True:
861861
with open(mod.__file__, 'rb') as in_f:
862862
stuff = in_f.read(200)

0 commit comments

Comments
 (0)