From: Antoine Pitrou Date: Sat, 23 May 2009 16:32:32 +0000 (+0000) Subject: Issue #3877: skip a test_fileio subtest on all BSDs, not only FreeBSD X-Git-Tag: v2.7a1~1120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3bd687b2dd1ae509f25182adc6b228036bd3d9a;p=thirdparty%2FPython%2Fcpython.git Issue #3877: skip a test_fileio subtest on all BSDs, not only FreeBSD --- diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py index 04c7b4559910..928fbecbf98a 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)