diff options
Diffstat (limited to 'Lib/dos-8x3/test_pop.py')
-rw-r--r-- | Lib/dos-8x3/test_pop.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Lib/dos-8x3/test_pop.py b/Lib/dos-8x3/test_pop.py new file mode 100644 index 0000000..be79f3c --- /dev/null +++ b/Lib/dos-8x3/test_pop.py @@ -0,0 +1,17 @@ +#! /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() + |