diff options
author | Xavier de Gaye <xdegaye@users.sourceforge.net> | 2016-12-08 11:26:18 +0100 |
---|---|---|
committer | Xavier de Gaye <xdegaye@users.sourceforge.net> | 2016-12-08 11:26:18 +0100 |
commit | f79606debd70b4ee65df6928d1090b5ebc7a8047 (patch) | |
tree | 3042d4e06ffd4f9c92742dcf14951779fd211732 | |
parent | 7522ef402c324481fabd841a89810fd944cd3cec (diff) | |
download | cpython-git-f79606debd70b4ee65df6928d1090b5ebc7a8047.tar.gz |
Issue #26940: Fix test_importlib that hangs on the Android armv7 qemu emulator.
-rw-r--r-- | 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 index b2aadff289..dbce9c2dfd 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 |