summaryrefslogtreecommitdiff
path: root/tests/isolated/patcher_subprocess.py
diff options
context:
space:
mode:
authorSergey Shepelev <temotor@gmail.com>2015-03-05 16:32:40 +0300
committerSergey Shepelev <temotor@gmail.com>2015-03-05 16:32:40 +0300
commit8ca2b0d5ff27bf963db78c01bab77e679baa0abc (patch)
tree9ff77b27986f9ac31a07bef14caa44ed6b1804af /tests/isolated/patcher_subprocess.py
parent84b535becafcdc932ab905061f5fa2fbea35dc74 (diff)
downloadeventlet-tm4.tar.gz
tests: move some into isolatedtm4
Diffstat (limited to 'tests/isolated/patcher_subprocess.py')
-rw-r--r--tests/isolated/patcher_subprocess.py18
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()