[Python-checkins] cpython (3.6): Issue #26941: Fix test_threading that hangs on the Android armv7 qemu emulator.
xavier.degaye
python-checkins at python.org
Thu Dec 8 06:22:23 EST 2016
https://hg.python.org/cpython/rev/b64ba5604e48
changeset: 105526:b64ba5604e48
branch: 3.6
parent: 105524:1bb2f4b8440e
user: Xavier de Gaye <xdegaye at users.sourceforge.net>
date: Thu Dec 08 12:21:00 2016 +0100
summary:
Issue #26941: Fix test_threading that hangs on the Android armv7 qemu emulator.
files:
Lib/test/test_threading.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -462,7 +462,7 @@
self.addCleanup(sys.setswitchinterval, old_interval)
# Make the bug more likely to manifest.
- sys.setswitchinterval(1e-6)
+ test.support.setswitchinterval(1e-6)
for i in range(20):
t = threading.Thread(target=lambda: None)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list