summaryrefslogtreecommitdiff
path: root/tests/patcher_test_monkey_early_patching.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/patcher_test_monkey_early_patching.py')
-rw-r--r--tests/patcher_test_monkey_early_patching.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/patcher_test_monkey_early_patching.py b/tests/patcher_test_monkey_early_patching.py
new file mode 100644
index 0000000..46a7581
--- /dev/null
+++ b/tests/patcher_test_monkey_early_patching.py
@@ -0,0 +1,8 @@
+# no standard tests in this file, ignore
+__test__ = False
+
+from eventlet import patcher
+patcher.monkey_patch()
+import eventlet
+eventlet.sleep(0.01)
+print("ok")