Patch #488073: AtheOS port.

This commit is contained in:
Martin v. Löwis 2002-06-11 06:22:31 +00:00
parent 7981ce576c
commit f90ae20354
23 changed files with 1782 additions and 17 deletions

View file

@ -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: