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_winreg
|
||||||
test_winsound
|
test_winsound
|
||||||
""",
|
""",
|
||||||
'darwin1':
|
'darwin':
|
||||||
"""
|
"""
|
||||||
test_al
|
test_al
|
||||||
test_cd
|
test_cd
|
||||||
|
|
|
@ -16,7 +16,7 @@ except AttributeError:
|
||||||
else:
|
else:
|
||||||
start_len = "qq"
|
start_len = "qq"
|
||||||
|
|
||||||
if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin1',
|
if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin',
|
||||||
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
|
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
|
||||||
'bsdos2', 'bsdos3', 'bsdos4',
|
'bsdos2', 'bsdos3', 'bsdos4',
|
||||||
'openbsd', 'openbsd2'):
|
'openbsd', 'openbsd2'):
|
||||||
|
|
|
@ -68,6 +68,7 @@ then
|
||||||
|
|
||||||
case $MACHDEP in
|
case $MACHDEP in
|
||||||
cygwin*) MACHDEP="cygwin";;
|
cygwin*) MACHDEP="cygwin";;
|
||||||
|
darwin*) MACHDEP="darwin";;
|
||||||
'') MACHDEP="unknown";;
|
'') MACHDEP="unknown";;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue