From e80697d687b610bd7fb9104af905dec8f0bc55a7 Mon Sep 17 00:00:00 2001 From: Hai Shi Date: Thu, 28 May 2020 06:10:27 +0800 Subject: bpo-40275: Adding threading_helper submodule in test.support (GH-20263) --- Lib/test/test_importlib/test_locks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Lib/test/test_importlib/test_locks.py') diff --git a/Lib/test/test_importlib/test_locks.py b/Lib/test/test_importlib/test_locks.py index 21794d911ef..0e94ce91801 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, -- cgit v1.2.3