We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10356af commit 4df182eCopy full SHA for 4df182e
tests/python/conftest.py
@@ -21,7 +21,11 @@
21
# to the event loop in the testsuite class, because
22
# SyncTrioEventLoop spawns a thread that only exits when the
23
# loop is closed. Nerf it.
24
- from test.support import threading_cleanup
+ try:
25
+ from test.support import threading_cleanup
26
+ except ImportError:
27
+ # Python 3.10+
28
+ from test.support.threading_helper import threading_cleanup
29
30
def threading_no_cleanup(*original_values):
31
pass
0 commit comments