Kaydet (Commit) 59e4f37d authored tarafından Guido van Rossum's avatar Guido van Rossum

Test for popen2 module, by Chris Tismer.

üst a060fb25
test_popen2
testing popen2...
testing popen3...
All OK
#! /usr/bin/env python
"""Test script for popen2.py
Christian Tismer
"""
# popen2 contains its own testing routine
# which is especially useful to see if open files
# like stdin can be read successfully by a forked
# subprocess.
def main():
from os import fork # skips test through ImportError
import popen2
popen2._test()
main()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment