mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Patch #488073: AtheOS port.
This commit is contained in:
parent
7981ce576c
commit
f90ae20354
23 changed files with 1782 additions and 17 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue