Patch #488073: AtheOS port.
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 @@
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: