summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier de Gaye <xdegaye@users.sourceforge.net>2016-12-08 11:21:53 (GMT)
committerXavier de Gaye <xdegaye@users.sourceforge.net>2016-12-08 11:21:53 (GMT)
commitf4341113321b6ea45d2c9f2f1d6fb3790480e446 (patch)
treeeb073727efec32959f3c2d96361b3453f47d54ee
parentcd35959bfc92424cd9e2feb0b643acc1f9a17e75 (diff)
parentcb9ab0f50b844ca92c074328a140f67d3690dd9a (diff)
downloadcpython-f4341113321b6ea45d2c9f2f1d6fb3790480e446.zip
cpython-f4341113321b6ea45d2c9f2f1d6fb3790480e446.tar.gz
cpython-f4341113321b6ea45d2c9f2f1d6fb3790480e446.tar.bz2
Issue #26941: Merge 3.6.
-rw-r--r--Lib/test/test_threading.py2
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)