]> granicus.if.org Git - python/commitdiff
'sunos' not 'solaris
authorBenjamin Peterson <benjamin@python.org>
Sat, 17 May 2014 23:33:59 +0000 (16:33 -0700)
committerBenjamin Peterson <benjamin@python.org>
Sat, 17 May 2014 23:33:59 +0000 (16:33 -0700)
Lib/test/test_posix.py

index 865e603a089074598432673a72ae326d3a2b1baf..00484563054fc49c7ffdcc89ee40a36dab8813fd 100644 (file)
@@ -195,7 +195,7 @@ class PosixTester(unittest.TestCase):
         self.fdopen_helper('r', 100)
 
     @unittest.skipUnless(hasattr(posix, 'fdopen') and
-                         not sys.platform.startswith("solaris"),
+                         not sys.platform.startswith("sunos"),
                          'test needs posix.fdopen()')
     def test_fdopen_keeps_fd_open_on_errors(self):
         fd = os.open(test_support.TESTFN, os.O_RDONLY)