mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX.
This commit is contained in:
parent
258e4d372f
commit
3ad2d70947
3 changed files with 4 additions and 7 deletions
|
@ -161,10 +161,6 @@ class PollTests(unittest.TestCase):
|
|||
|
||||
pollster = select.poll()
|
||||
# Issue 15989
|
||||
self.assertRaises(OverflowError, pollster.register, 0,
|
||||
_testcapi.SHRT_MAX + 1)
|
||||
self.assertRaises(OverflowError, pollster.register, 0,
|
||||
_testcapi.USHRT_MAX + 1)
|
||||
self.assertRaises(OverflowError, pollster.poll, _testcapi.INT_MAX + 1)
|
||||
self.assertRaises(OverflowError, pollster.poll, _testcapi.UINT_MAX + 1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue