repo.or.cz
/
python
/
dscho.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added 'description' class attribute to every command class (to help the
[python/dscho.git]
/
Lib
/
test
/
test_popen2.py
blob
be79f3c6abdd68a0dcc2886700b04b8774af460b
1
#! /usr/bin/env python
2
"""Test script for popen2.py
3
Christian Tismer
4
"""
5
6
# popen2 contains its own testing routine
7
# which is especially useful to see if open files
8
# like stdin can be read successfully by a forked
9
# subprocess.
10
11
def
main
():
12
from
os
import
fork
# skips test through ImportError
13
import
popen2
14
popen2
.
_test
()
15
16
main
()
17