summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-05-23 16:32:32 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-05-23 16:32:32 (GMT)
commitf3bd687b2dd1ae509f25182adc6b228036bd3d9a (patch)
treed82ccaa6efb827ff294e1e84160ad4ccdb07116a
parent76dd2d14590ca2949e753166c1e557870d072e10 (diff)
downloadcpython-f3bd687b2dd1ae509f25182adc6b228036bd3d9a.zip
cpython-f3bd687b2dd1ae509f25182adc6b228036bd3d9a.tar.gz
cpython-f3bd687b2dd1ae509f25182adc6b228036bd3d9a.tar.bz2
Issue #3877: skip a test_fileio subtest on all BSDs, not only FreeBSD
-rw-r--r--Lib/test/test_fileio.py2
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)