From: Guido van Rossum Date: Thu, 12 Oct 2000 16:01:55 +0000 (+0000) Subject: Anonymous patch to add Darwin 1.2 to the list of BSDs. X-Git-Tag: v2.0~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e2a70abe48d84846fde5e9a64450f8b0c9934b2;p=python 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! --- diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py index e1ed88b5d1..a1da0ddc8e 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'):