diff options
Diffstat (limited to 'tests/patcher_test_import_module.py')
| -rw-r--r-- | tests/patcher_test_import_module.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/patcher_test_import_module.py b/tests/patcher_test_import_module.py new file mode 100644 index 0000000..e86a9b8 --- /dev/null +++ b/tests/patcher_test_import_module.py @@ -0,0 +1,14 @@ +# no standard tests in this file, ignore +__test__ = False + +if __name__ == '__main__': + import patcher_test_patching + import socket + + patcher_test_patching.prepare() + print("importing {0} {1} {2} {3}".format( + patcher_test_patching, + socket, + patcher_test_patching.socket, + patcher_test_patching.urllib, + )) |
