summaryrefslogtreecommitdiff
path: root/tests/patcher_test_patching.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/patcher_test_patching.py')
-rw-r--r--tests/patcher_test_patching.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/patcher_test_patching.py b/tests/patcher_test_patching.py
new file mode 100644
index 0000000..56a4c4c
--- /dev/null
+++ b/tests/patcher_test_patching.py
@@ -0,0 +1,11 @@
+# no standard tests in this file, ignore
+__test__ = False
+
+from eventlet.green import socket
+from eventlet.green import urllib
+
+
+def prepare():
+ from eventlet import patcher
+ print('patcher {0} {1}'.format(socket, urllib))
+ patcher.inject('patcher_test_base', globals(), ('socket', socket), ('urllib', urllib))