def compare_versions(v1, v2):

    def normalize(v):
        return tuple(map(int, re.sub(r'(\.0+)*$', '', v).split('.')))

    return normalize(v1) > normalize(v2)
Test that the create method can be called without error.
dataset/ETHPy150Open veegee/amqpy/amqpy/support/monotonic.py/compare_versions--crossover with--dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/pie/test_api.py/TestKmipClient.test_create