':py:obj:`Connection.connect` raises :py:obj:`TypeError` if called with a non-address
argument or with the wrong number of arguments.'

def test_connect_wrong_args(self):

    connection = Connection(Context(TLSv1_METHOD), socket())
    self.assertRaises(TypeError, connection.connect, None)
    self.assertRaises(TypeError, connection.connect)
    self.assertRaises(TypeError, connection.connect, ('127.0.0.1', 1), None)
