Commit 8a97f4a3 authored by Jack Jansen's avatar Jack Jansen

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?).
parent a7594db5
...@@ -619,7 +619,7 @@ _expectations = { ...@@ -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: ...@@ -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'):
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -68,6 +68,7 @@ then ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment