Add python-eventlet package to MOS 8.0 repository
[packages/trusty/python-eventlet.git] / eventlet / tests / patcher_test_importlib_lock.py
diff --git a/eventlet/tests/patcher_test_importlib_lock.py b/eventlet/tests/patcher_test_importlib_lock.py
deleted file mode 100644 (file)
index 8f7cea7..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-from __future__ import print_function
-
-import sys
-
-import eventlet
-
-
-# no standard tests in this file, ignore
-__test__ = False
-
-
-def do_import():
-    import encodings.idna
-
-
-if __name__ == '__main__':
-    eventlet.monkey_patch()
-    threading = eventlet.patcher.original('threading')
-
-    sys.modules.pop('encodings.idna', None)
-
-    # call "import encodings.idna" in a new thread
-    thread = threading.Thread(target=do_import)
-    thread.start()
-
-    # call "import encodings.idna" in the main thread
-    do_import()
-
-    thread.join()
-    print('ok')