class_docstr: Test case for socket.gettimeout() and socket.settimeout()
code: def testRangeCheck(self):
      # Test range checking by settimeout()
      self.assertRaises(ValueError, self.sock.settimeout, -1)
      self.assertRaises(ValueError, self.sock.settimeout, -1)
      self.assertRaises(ValueError, self.sock.settimeout, -1.0)
  
imports: import functools
  import unittest
  from test import support
  from test.support import socket_helper
  import time
  import errno
  import socket
label_desc: Use image node_id 7 for calling the CreationTestCase obj's underlying member method code with example usage: obj.testRangeCheck() without return types