def METHOD_NAME(self):
    # Test setblocking() followed by settimeout()
    self.sock.setblocking(0)
    self.sock.settimeout(1)
    self.assertEqual(self.sock.gettimeout(), 1)
    self.sock.setblocking(1)
    self.sock.settimeout(1)
    self.assertEqual(self.sock.gettimeout(), 1)