diff options
author | Xavier de Gaye <xdegaye@users.sourceforge.net> | 2016-12-08 11:21:00 (GMT) |
---|---|---|
committer | Xavier de Gaye <xdegaye@users.sourceforge.net> | 2016-12-08 11:21:00 (GMT) |
commit | cb9ab0f50b844ca92c074328a140f67d3690dd9a (patch) | |
tree | 72429d078b350b01318925fadd35ce11c2192b01 /Lib | |
parent | f79606debd70b4ee65df6928d1090b5ebc7a8047 (diff) | |
download | cpython-cb9ab0f50b844ca92c074328a140f67d3690dd9a.zip cpython-cb9ab0f50b844ca92c074328a140f67d3690dd9a.tar.gz cpython-cb9ab0f50b844ca92c074328a140f67d3690dd9a.tar.bz2 |
Issue #26941: Fix test_threading that hangs on the Android armv7 qemu emulator.
Diffstat (limited to 'Lib')
-rw-r--r-- | 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 index 845e7d4..2c2914f 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -462,7 +462,7 @@ class ThreadTests(BaseTestCase): 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) |