From: Victor Stinner Date: Mon, 17 Oct 2011 17:55:31 +0000 (+0200) Subject: Issue #12367: Test test_select.test_errno() on FreeBSD X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ecd02074440b683b28f0946c2a03b499541d1ea8;p=python Issue #12367: Test test_select.test_errno() on FreeBSD See the FreeBSD bug: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/155606 --- diff --git a/Lib/test/test_select.py b/Lib/test/test_select.py index ec77a49700..3144c549eb 100644 --- a/Lib/test/test_select.py +++ b/Lib/test/test_select.py @@ -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()