Issue #12367: Test test_select.test_errno() on FreeBSD

See the FreeBSD bug:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/155606
This commit is contained in:
Victor Stinner 2011-10-17 19:55:31 +02:00
parent 2b9f36cdb6
commit ecd0207444
1 changed files with 3 additions and 0 deletions

View 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()