summaryrefslogtreecommitdiff
path: root/support/testing/tests/package/sample_python_subprocess32.py
diff options
context:
space:
mode:
Diffstat (limited to 'support/testing/tests/package/sample_python_subprocess32.py')
-rw-r--r--support/testing/tests/package/sample_python_subprocess32.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/support/testing/tests/package/sample_python_subprocess32.py b/support/testing/tests/package/sample_python_subprocess32.py
new file mode 100644
index 0000000000..8579745cc8
--- /dev/null
+++ b/support/testing/tests/package/sample_python_subprocess32.py
@@ -0,0 +1,6 @@
+import subprocess32
+
+output = subprocess32.check_output(["ls", "-l", "/dev/null"])
+print(output)
+assert("/dev/null" in output)
+assert("No such" not in output)