def METHOD_NAME(self):
    # test int overflow
    pollster = select.poll()
    pollster.register(1)
    self.assertRaises(OverflowError, pollster.poll, 1L << 64)
    x = 2 + 3
    if x != 5:
        self.fail('Overflow must have occurred')
    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)