From ecd02074440b683b28f0946c2a03b499541d1ea8 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 17 Oct 2011 19:55:31 +0200 Subject: Issue #12367: Test test_select.test_errno() on FreeBSD See the FreeBSD bug: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/155606 --- Lib/test/test_select.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Lib/test/test_select.py') 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() -- cgit v1.2.1