[Python-checkins] r72859 - python/trunk/Lib/test/test_fileio.py

antoine.pitrou python-checkins at python.org
Sat May 23 18:32:32 CEST 2009


Author: antoine.pitrou
Date: Sat May 23 18:32:32 2009
New Revision: 72859

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



Modified:
   python/trunk/Lib/test/test_fileio.py

Modified: python/trunk/Lib/test/test_fileio.py
==============================================================================
--- python/trunk/Lib/test/test_fileio.py	(original)
+++ python/trunk/Lib/test/test_fileio.py	Sat May 23 18:32:32 2009
@@ -151,7 +151,7 @@
                     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)


More information about the Python-checkins mailing list