diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_fileio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py index 04c7b45..928fbec 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) |