Commit f79606de authored by Xavier de Gaye's avatar Xavier de Gaye

Issue #26940: Fix test_importlib that hangs on the Android armv7 qemu emulator.

parent 7522ef40
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment