]> granicus.if.org Git - python/commitdiff
Merged revisions 72859 via svnmerge from
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 23 May 2009 16:34:50 +0000 (16:34 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 23 May 2009 16:34:50 +0000 (16:34 +0000)
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
........

Lib/test/test_fileio.py

index ed225df2cac43a774753f896cbff2413146051f5..9188e70e30af5900b4b00747d706b5d2e2475634 100644 (file)
@@ -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)