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

Skip to content

Commit 2e2a70a

Browse files
committed
Anonymous patch to add Darwin 1.2 to the list of BSDs.
Let's hope this is correct (I'm not sure why the sys.platform would be 'Darwin1.2' rather than 'darwin1', which seems to be the convention). Someone with Darwin please test this!
1 parent 0157e7a commit 2e2a70a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_fcntl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
if verbose:
1717
print 'Status from fnctl with O_NONBLOCK: ', rv
1818

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

0 commit comments

Comments
 (0)