code: def test_poll_c_limits(self):
      from _testcapi import USHRT_MAX, INT_MAX, UINT_MAX
  
      pollster = select.poll()
      pollster.register(1)
  
      # Issues #15989, #17919
      self.assertRaises(
          OverflowError, pollster.register, 0, USHRT_MAX + 1
      )
      self.assertRaises(
          OverflowError, pollster.modify, 1, USHRT_MAX + 1
      )
      self.assertRaises(OverflowError, pollster.poll, INT_MAX + 1)
      self.assertRaises(OverflowError, pollster.poll, UINT_MAX + 1)
  
file_path: cpython/Lib/test/test_poll.py
imports: import os
  import subprocess
  import random
  import select
  import threading
  import time
  import unittest
  from test.support import cpython_only, requires_subprocess, requires_working_socket, requires_resource
  from test.support import threading_helper
  from test.support.os_helper import TESTFN
label_desc: Use image node_id 5 for calling the PollTests obj's underlying member method code with example usage: obj.test_poll_c_limits() without return types