summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib
diff options
context:
space:
mode:
authorXavier de Gaye <xdegaye@users.sourceforge.net>2016-12-08 10:26:18 (GMT)
committerXavier de Gaye <xdegaye@users.sourceforge.net>2016-12-08 10:26:18 (GMT)
commitf79606debd70b4ee65df6928d1090b5ebc7a8047 (patch)
tree3042d4e06ffd4f9c92742dcf14951779fd211732 /Lib/test/test_importlib
parent7522ef402c324481fabd841a89810fd944cd3cec (diff)
downloadcpython-f79606debd70b4ee65df6928d1090b5ebc7a8047.zip
cpython-f79606debd70b4ee65df6928d1090b5ebc7a8047.tar.gz
cpython-f79606debd70b4ee65df6928d1090b5ebc7a8047.tar.bz2
Issue #26940: Fix test_importlib that hangs on the Android armv7 qemu emulator.
Diffstat (limited to 'Lib/test/test_importlib')
-rw-r--r--Lib/test/test_importlib/test_locks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/test_locks.py b/Lib/test/test_importlib/test_locks.py
index b2aadff..dbce9c2 100644
--- a/Lib/test/test_importlib/test_locks.py
+++ b/Lib/test/test_importlib/test_locks.py
@@ -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