def METHOD_NAME(self):
    # test int overflow
    pollster = select.poll()
    pollster.register(1)
    self.assertRaises(OverflowError, pollster.poll, 1 << 64)
    x = 2 + 3
    if x != 5:
        self.fail('Overflow must have occurred')
    # Issues #15989, #17919
    self.assertRaises(ValueError, pollster.register, 0, -1)
    self.assertRaises(OverflowError, pollster.register, 0, 1 << 64)
    self.assertRaises(ValueError, pollster.modify, 1, -1)
    self.assertRaises(OverflowError, pollster.modify, 1, 1 << 64)