diff options
Diffstat (limited to 'Lib/test/test_importlib/test_locks.py')
-rw-r--r-- | Lib/test/test_importlib/test_locks.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/test_locks.py b/Lib/test/test_importlib/test_locks.py index 21794d911e..0e94ce9180 100644 --- a/Lib/test/test_importlib/test_locks.py +++ b/Lib/test/test_importlib/test_locks.py @@ -7,6 +7,7 @@ import threading import weakref from test import support +from test.support import threading_helper from test import lock_tests @@ -138,7 +139,7 @@ class LifetimeTests: ) = test_util.test_both(LifetimeTests, init=init) -@support.reap_threads +@threading_helper.reap_threads def test_main(): support.run_unittest(Frozen_ModuleLockAsRLockTests, Source_ModuleLockAsRLockTests, |