class_docstr: Test case for socket.gettimeout() and socket.settimeout()
code: def testBlockingThenTimeout(self):
      # Test setblocking() followed by settimeout()
      self.sock.setblocking(False)
      self.sock.settimeout(1)
      self.assertEqual(self.sock.gettimeout(), 1)
  
      self.sock.setblocking(True)
      self.sock.settimeout(1)
      self.assertEqual(self.sock.gettimeout(), 1)
  
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 9 for calling the CreationTestCase obj's underlying member method code with example usage: obj.testBlockingThenTimeout() without return types