Kaydet (Commit) f3bd687b authored tarafından Antoine Pitrou's avatar Antoine Pitrou

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

üst 76dd2d14
...@@ -151,7 +151,7 @@ class OtherFileTests(unittest.TestCase): ...@@ -151,7 +151,7 @@ class OtherFileTests(unittest.TestCase):
self.assertEquals(f.readable(), False) self.assertEquals(f.readable(), False)
self.assertEquals(f.writable(), True) self.assertEquals(f.writable(), True)
if sys.platform != "darwin" and \ if sys.platform != "darwin" and \
not sys.platform.startswith('freebsd') and \ 'bsd' not in sys.platform and \
not sys.platform.startswith('sunos'): not sys.platform.startswith('sunos'):
# Somehow /dev/tty appears seekable on some BSDs # Somehow /dev/tty appears seekable on some BSDs
self.assertEquals(f.seekable(), False) self.assertEquals(f.seekable(), False)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment