diff options
Diffstat (limited to 'tests/patcher_test_subprocess_monkey_patched.py')
| -rw-r--r-- | tests/patcher_test_subprocess_monkey_patched.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/patcher_test_subprocess_monkey_patched.py b/tests/patcher_test_subprocess_monkey_patched.py new file mode 100644 index 0000000..c9049b5 --- /dev/null +++ b/tests/patcher_test_subprocess_monkey_patched.py @@ -0,0 +1,10 @@ +# no standard tests in this file, ignore +__test__ = False + +if __name__ == '__main__': + import eventlet + eventlet.monkey_patch() + from eventlet.green import subprocess + + subprocess.Popen(['true'], stdin=subprocess.PIPE).wait() + print("done") |
