summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier de Gaye <xdegaye@users.sourceforge.net>2016-12-08 10:27:27 (GMT)
committerXavier de Gaye <xdegaye@users.sourceforge.net>2016-12-08 10:27:27 (GMT)
commitcd35959bfc92424cd9e2feb0b643acc1f9a17e75 (patch)
treec0f40d3753ee370ae279998577607ef89316da64
parent566ba3defd36090a006090ada1770fbea917816d (diff)
parentf79606debd70b4ee65df6928d1090b5ebc7a8047 (diff)
downloadcpython-cd35959bfc92424cd9e2feb0b643acc1f9a17e75.zip
cpython-cd35959bfc92424cd9e2feb0b643acc1f9a17e75.tar.gz
cpython-cd35959bfc92424cd9e2feb0b643acc1f9a17e75.tar.bz2
Issue #26940: Merge 3.6.
-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