From 5207f21befabdd0da9e951900af4b252576e6e9c Mon Sep 17 00:00:00 2001 From: "antoine.pitrou" Date: Sat, 23 May 2009 16:32:32 +0000 Subject: [PATCH] Issue #3877: skip a test_fileio subtest on all BSDs, not only FreeBSD git-svn-id: http://svn.python.org/projects/python/trunk@72859 6015fed2-1504-0410-9fe1-9d1591cc4771 --- Lib/test/test_fileio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py index 04c7b45599..928fbecbf9 100644 --- a/Lib/test/test_fileio.py +++ b/Lib/test/test_fileio.py @@ -151,7 +151,7 @@ class OtherFileTests(unittest.TestCase): self.assertEquals(f.readable(), False) self.assertEquals(f.writable(), True) if sys.platform != "darwin" and \ - not sys.platform.startswith('freebsd') and \ + 'bsd' not in sys.platform and \ not sys.platform.startswith('sunos'): # Somehow /dev/tty appears seekable on some BSDs self.assertEquals(f.seekable(), False) -- 2.11.4.GIT