mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
The usual
This commit is contained in:
parent
6d0de99d8d
commit
9a744a9dd7
17 changed files with 476 additions and 94 deletions
17
Lib/dos-8x3/test_pop.py
Normal file
17
Lib/dos-8x3/test_pop.py
Normal file
|
@ -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()
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue