summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-10-12 16:01:55 (GMT)
committerGuido van Rossum <guido@python.org>2000-10-12 16:01:55 (GMT)
commit2e2a70abe48d84846fde5e9a64450f8b0c9934b2 (patch)
tree0719171869bed94817a89968ecf45331b3e780c1 /Lib/test
parent0157e7aa3e4448e00f8a99aac0e2e4f03de9df17 (diff)
downloadcpython-2e2a70abe48d84846fde5e9a64450f8b0c9934b2.zip
cpython-2e2a70abe48d84846fde5e9a64450f8b0c9934b2.tar.gz
cpython-2e2a70abe48d84846fde5e9a64450f8b0c9934b2.tar.bz2
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!
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/test_fcntl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py
index e1ed88b..a1da0dd 100755
--- a/Lib/test/test_fcntl.py
+++ b/Lib/test/test_fcntl.py
@@ -16,7 +16,7 @@ rv = fcntl.fcntl(f.fileno(), FCNTL.F_SETFL, os.O_NONBLOCK)
if verbose:
print 'Status from fnctl with O_NONBLOCK: ', rv
-if sys.platform in ('netbsd1',
+if sys.platform in ('netbsd1', 'Darwin1.2',
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
'bsdos2', 'bsdos3', 'bsdos4',
'openbsd', 'openbsd2'):