diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-06-11 06:22:31 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-06-11 06:22:31 (GMT) |
commit | f90ae20354ceb501f0ba0b6459df17f1a8005a47 (patch) | |
tree | f9aae742cfa33ba10af2ed8152aff802430f626c /Lib/test/test_popen2.py | |
parent | 7981ce576c719e291dc901a3463e725b6be3c50e (diff) | |
download | cpython-f90ae20354ceb501f0ba0b6459df17f1a8005a47.zip cpython-f90ae20354ceb501f0ba0b6459df17f1a8005a47.tar.gz cpython-f90ae20354ceb501f0ba0b6459df17f1a8005a47.tar.bz2 |
Patch #488073: AtheOS port.
Diffstat (limited to 'Lib/test/test_popen2.py')
-rw-r--r-- | Lib/test/test_popen2.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_popen2.py b/Lib/test/test_popen2.py index 799df4a..c67dd71 100644 --- a/Lib/test/test_popen2.py +++ b/Lib/test/test_popen2.py @@ -14,11 +14,12 @@ from test_support import TestSkipped def main(): print "Test popen2 module:" - if sys.platform[:4] == 'beos' and __name__ != '__main__': + if (sys.platform[:4] == 'beos' or sys.platform[:6] == 'atheos') \ + and __name__ != '__main__': # Locks get messed up or something. Generally we're supposed # to avoid mixing "posix" fork & exec with native threads, and # they may be right about that after all. - raise TestSkipped, "popen2() doesn't work during import on BeOS" + raise TestSkipped, "popen2() doesn't work during import on " + sys.platform try: from os import popen except ImportError: |