Commit 652645c5 authored by Fredrik Lundh's avatar Fredrik Lundh

-- changed test to work on platforms which have os.popen

   but no os.fork
parent ba763a0f
......@@ -9,7 +9,13 @@
# subprocess.
def main():
from os import fork # skips test through ImportError
try:
from os import popen
except ImportError:
# if we don't have os.popen, check that
# we have os.fork. if not, skip the test
# (by raising an ImportError)
from os import fork
import popen2
popen2._test()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment