def METHOD_NAME(self):
    pollster = select.devpoll()
    w, r = os.pipe()
    pollster.register(w)
    pollster.poll(-1)
    self.assertRaises(OverflowError, pollster.poll, -2)
    self.assertRaises(OverflowError, pollster.poll, -1 << 31)
    self.assertRaises(OverflowError, pollster.poll, -1 << 64)
    pollster.poll(0)
    pollster.poll(1)
    pollster.poll(1 << 30)
    self.assertRaises(OverflowError, pollster.poll, 1 << 31)
    self.assertRaises(OverflowError, pollster.poll, 1 << 63)
    self.assertRaises(OverflowError, pollster.poll, 1 << 64)