diff options
| author | Sergey Shepelev <temotor@gmail.com> | 2015-03-05 16:32:40 +0300 |
|---|---|---|
| committer | Sergey Shepelev <temotor@gmail.com> | 2015-03-05 16:32:40 +0300 |
| commit | 8ca2b0d5ff27bf963db78c01bab77e679baa0abc (patch) | |
| tree | 9ff77b27986f9ac31a07bef14caa44ed6b1804af /tests/isolated/patcher_subprocess.py | |
| parent | 84b535becafcdc932ab905061f5fa2fbea35dc74 (diff) | |
| download | eventlet-tm4.tar.gz | |
tests: move some into isolatedtm4
Diffstat (limited to 'tests/isolated/patcher_subprocess.py')
| -rw-r--r-- | tests/isolated/patcher_subprocess.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/isolated/patcher_subprocess.py b/tests/isolated/patcher_subprocess.py new file mode 100644 index 0000000..2b359a8 --- /dev/null +++ b/tests/isolated/patcher_subprocess.py @@ -0,0 +1,18 @@ +from __future__ import print_function + +# no standard tests in this file, ignore +__test__ = False + + +def main(): + import sys + import eventlet + eventlet.monkey_patch() + from eventlet.green import subprocess + + subprocess.Popen([sys.executable, '-c', ''], stdin=subprocess.PIPE) + + print('pass') + +if __name__ == '__main__': + main() |
