[Python-checkins] cpython: Issue #12367: Test test_select.test_errno() on FreeBSD

victor.stinner python-checkins at python.org
Mon Oct 17 19:54:42 CEST 2011


http://hg.python.org/cpython/rev/f6b8e4226260
changeset:   72964:f6b8e4226260
user:        Victor Stinner <victor.stinner at haypocalc.com>
date:        Mon Oct 17 19:55:31 2011 +0200
summary:
  Issue #12367: Test test_select.test_errno() on FreeBSD

See the FreeBSD bug:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/155606

files:
  Lib/test/test_select.py |  3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_select.py b/Lib/test/test_select.py
--- a/Lib/test/test_select.py
+++ b/Lib/test/test_select.py
@@ -23,6 +23,9 @@
         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()

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list