'Test that the timeouts are disabled on a generic socket object
and it\'s _sock object if present.'

def test_disable_socket_timeout2(self):

    socket = self.DummySocket()
    socket._sock = self.DummySocket()
    self.client._disable_socket_timeout(socket)
    self.assertEqual(socket.timeout, None)
    self.assertEqual(socket._sock.timeout, None)
