mirror of https://github.com/python/cpython
sys.platform on Mac OS X is now "darwin", without any version number appended.
This should probably go into NEWS (who's responsible for that?).
This commit is contained in:
parent
a7594db5bc
commit
8a97f4a380
|
@ -619,7 +619,7 @@ _expectations = {
|
|||
test_winreg
|
||||
test_winsound
|
||||
""",
|
||||
'darwin1':
|
||||
'darwin':
|
||||
"""
|
||||
test_al
|
||||
test_cd
|
||||
|
|
|
@ -16,7 +16,7 @@ except AttributeError:
|
|||
else:
|
||||
start_len = "qq"
|
||||
|
||||
if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin1',
|
||||
if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin',
|
||||
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
|
||||
'bsdos2', 'bsdos3', 'bsdos4',
|
||||
'openbsd', 'openbsd2'):
|
||||
|
|
|
@ -68,6 +68,7 @@ then
|
|||
|
||||
case $MACHDEP in
|
||||
cygwin*) MACHDEP="cygwin";;
|
||||
darwin*) MACHDEP="darwin";;
|
||||
'') MACHDEP="unknown";;
|
||||
esac
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue