]> granicus.if.org Git - python/commitdiff
Issue #3877: skip a test_fileio subtest on all BSDs, not only FreeBSD
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 23 May 2009 16:32:32 +0000 (16:32 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 23 May 2009 16:32:32 +0000 (16:32 +0000)
Lib/test/test_fileio.py

index 04c7b4559910f4f388f30d8b2d51cdc5e232190d..928fbecbf98a7f5bb92f397040ec95d507150236 100644 (file)
@@ -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)