summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-05-23 16:34:50 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-05-23 16:34:50 (GMT)
commitd7b3046289b49a4d68c7853cc408f77d75b559f8 (patch)
tree297c81823023d897566af92b95e9f65d3a816774
parent9c80cacb8cede5830447e7bff4e03a35293fa148 (diff)
downloadcpython-d7b3046289b49a4d68c7853cc408f77d75b559f8.zip
cpython-d7b3046289b49a4d68c7853cc408f77d75b559f8.tar.gz
cpython-d7b3046289b49a4d68c7853cc408f77d75b559f8.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 ........
-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 ed225df..9188e70 100644
--- a/Lib/test/test_fileio.py
+++ b/Lib/test/test_fileio.py
@@ -252,7 +252,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)