def METHOD_NAME():
    with pytest.raises(ValueError, match="does not match current version"):
        modules.replace_version(old="v0.11.0", new="v0.11.1")
    with pytest.raises(ValueError, match="va.b.c is not a valid version number"):
        modules.replace_version(old="1.2.3.dev", new="va.b.c")