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