Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f79606d

Browse files
author
Xavier de Gaye
committed
Issue #26940: Fix test_importlib that hangs on the Android armv7 qemu emulator.
1 parent 7522ef4 commit f79606d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_importlib/test_locks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class DeadlockAvoidanceTests:
5757
def setUp(self):
5858
try:
5959
self.old_switchinterval = sys.getswitchinterval()
60-
sys.setswitchinterval(0.000001)
60+
support.setswitchinterval(0.000001)
6161
except AttributeError:
6262
self.old_switchinterval = None
6363

0 commit comments

Comments
 (0)