Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: c0605ad952b4dc16c89785d471adcfab5ad56e94 authored by cvs2svn on 31 March 2000, 20:16:45 UTC
This commit was manufactured by cvs2svn to create tag 'r16a1'.
Tip revision: c0605ad
test_pop.py
#! /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()

back to top