summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-10-17 17:55:31 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-10-17 17:55:31 (GMT)
commitecd02074440b683b28f0946c2a03b499541d1ea8 (patch)
treea46ccc09a05710446a0d986cf8213a8ea472a8bc
parent2b9f36cdb62d1b1bf31a968e0e5d121731d2f372 (diff)
downloadcpython-ecd02074440b683b28f0946c2a03b499541d1ea8.zip
cpython-ecd02074440b683b28f0946c2a03b499541d1ea8.tar.gz
cpython-ecd02074440b683b28f0946c2a03b499541d1ea8.tar.bz2
Issue #12367: Test test_select.test_errno() on FreeBSD
See the FreeBSD bug: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/155606
-rw-r--r--Lib/test/test_select.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_select.py b/Lib/test/test_select.py
index ec77a49..3144c54 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()