code: def test_timeout_overflow(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)
  
file_path: cpython/Lib/test/test_devpoll.py
imports: import os
  import random
  import select
  import unittest
  from test.support import cpython_only
label_desc: Use image node_id 2 for calling the DevPollTests obj's underlying member method code with example usage: obj.test_timeout_overflow() without return types