diff options
Diffstat (limited to 'tests/patcher_test_monkey_patched_modules.py')
| -rw-r--r-- | tests/patcher_test_monkey_patched_modules.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/patcher_test_monkey_patched_modules.py b/tests/patcher_test_monkey_patched_modules.py new file mode 100644 index 0000000..44530d2 --- /dev/null +++ b/tests/patcher_test_monkey_patched_modules.py @@ -0,0 +1,9 @@ +# no standard tests in this file, ignore +__test__ = False + +if __name__ == '__main__': + from eventlet import patcher + patcher.monkey_patch() + import socket + import urllib + print("child {0} {1}".format(socket.socket, urllib.socket.socket)) |
