]> granicus.if.org Git - python/commitdiff
Issue #12367: Test test_select.test_errno() on FreeBSD
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 17 Oct 2011 17:55:31 +0000 (19:55 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 17 Oct 2011 17:55:31 +0000 (19:55 +0200)
See the FreeBSD bug:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/155606

Lib/test/test_select.py

index ec77a4970087d833846fb69453155f5df9709462..3144c549eb287adbff9a7794dcb035f195b456f2 100644 (file)
@@ -23,6 +23,9 @@ class SelectTestCase(unittest.TestCase):
         self.assertRaises(TypeError, select.select, [], [], [], "not a number")
         self.assertRaises(ValueError, select.select, [], [], [], -1)
 
+    # Issue #12367: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/155606
+    @unittest.skipIf(sys.platform.startswith('freebsd'),
+                     'skip because of a FreeBSD bug: kern/155606')
     def test_errno(self):
         with open(__file__, 'rb') as fp:
             fd = fp.fileno()