def METHOD_NAME():
    assert_version_compare(
        spawn_package(version='1.0p1'), spawn_package(version='1.0p1'), 0
    )
    assert_version_compare(
        spawn_package(version='1.0p1', flags=PackageFlags.P_IS_PATCH),
        spawn_package(version='1.0p1'),
        1,
    )
    assert_version_compare(
        spawn_package(version='1.0p1'),
        spawn_package(version='1.0p1', flags=PackageFlags.P_IS_PATCH),
        -1,
    )
    assert_version_compare(
        spawn_package(version='1.0p1', flags=PackageFlags.P_IS_PATCH),
        spawn_package(version='1.0p1', flags=PackageFlags.P_IS_PATCH),
        0,
    )