Issue #3877: skip a test_fileio subtest on all BSDs, not only FreeBSD

This commit is contained in:
Antoine Pitrou 2009-05-23 16:32:32 +00:00
parent 76dd2d1459
commit f3bd687b2d
1 changed files with 1 additions and 1 deletions

View 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)