Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a97f4a

Browse files
committed
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?).
1 parent a7594db commit 8a97f4a

4 files changed

Lines changed: 417 additions & 415 deletions

File tree

Lib/test/regrtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ def tolist(self, sorted=1):
619619
test_winreg
620620
test_winsound
621621
""",
622-
'darwin1':
622+
'darwin':
623623
"""
624624
test_al
625625
test_cd

Lib/test/test_fcntl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
else:
1717
start_len = "qq"
1818

19-
if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin1',
19+
if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin',
2020
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
2121
'bsdos2', 'bsdos3', 'bsdos4',
2222
'openbsd', 'openbsd2'):

0 commit comments

Comments
 (0)