[Python-checkins] cpython (3.6): Issue #26940: Fix test_importlib that hangs on the Android armv7 qemu emulator.
xavier.degaye
python-checkins at python.org
Thu Dec 8 05:28:02 EST 2016
https://hg.python.org/cpython/rev/1bb2f4b8440e
changeset: 105524:1bb2f4b8440e
branch: 3.6
parent: 105522:fd1718badb67
user: Xavier de Gaye <xdegaye at users.sourceforge.net>
date: Thu Dec 08 11:26:18 2016 +0100
summary:
Issue #26940: Fix test_importlib that hangs on the Android armv7 qemu emulator.
files:
Lib/test/test_importlib/test_locks.py | 2 +-
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
--- a/Lib/test/test_importlib/test_locks.py
+++ b/Lib/test/test_importlib/test_locks.py
@@ -57,7 +57,7 @@
def setUp(self):
try:
self.old_switchinterval = sys.getswitchinterval()
- sys.setswitchinterval(0.000001)
+ support.setswitchinterval(0.000001)
except AttributeError:
self.old_switchinterval = None
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list