cpython/Lib/dos-8x3/test_pop.py

18 lines
350 B
Python
Raw Normal View History

1999-04-08 17:27:54 -03:00
#! /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()