mirror of https://github.com/python/cpython
Issue #26940: Fix test_importlib that hangs on the Android armv7 qemu emulator.
This commit is contained in:
parent
7522ef402c
commit
f79606debd
|
@ -57,7 +57,7 @@ if threading is not None:
|
|||
def setUp(self):
|
||||
try:
|
||||
self.old_switchinterval = sys.getswitchinterval()
|
||||
sys.setswitchinterval(0.000001)
|
||||
support.setswitchinterval(0.000001)
|
||||
except AttributeError:
|
||||
self.old_switchinterval = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue