summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-05-23 16:33:31 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-05-23 16:33:31 (GMT)
commitf658e82daf46ff46567e9960ba6612d9ba21b9db (patch)
tree2725ba04bb82989e509445099acdf561be66a48f /Lib
parentcd1376d75f97c87aaf1adf1e583a5affe2ca98e7 (diff)
downloadcpython-f658e82daf46ff46567e9960ba6612d9ba21b9db.zip
cpython-f658e82daf46ff46567e9960ba6612d9ba21b9db.tar.gz
cpython-f658e82daf46ff46567e9960ba6612d9ba21b9db.tar.bz2
Merged revisions 72859 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72859 | antoine.pitrou | 2009-05-23 18:32:32 +0200 (sam., 23 mai 2009) | 3 lines Issue #3877: skip a test_fileio subtest on all BSDs, not only FreeBSD ........
Diffstat (limited to 'Lib')
-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)