From f79606debd70b4ee65df6928d1090b5ebc7a8047 Mon Sep 17 00:00:00 2001
From: Xavier de Gaye <xdegaye@users.sourceforge.net>
Date: Thu, 8 Dec 2016 11:26:18 +0100
Subject: Issue #26940: Fix test_importlib that hangs on the Android armv7 qemu
 emulator.

---
 Lib/test/test_importlib/test_locks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 
-- 
cgit v0.12