"""Regression tests for pypa/packaging #1116: perf: Overhaul `_cmpkey` to remove use of custom objects

Generated by Breakwater. Each test passed on the base commit and failed on the head commit when
generated; it pins the old behaviour.
"""


def test_1116_p4_base_head_load_0():
    """Breakwater P4: base behaviour pinned (found by differential testing; label: likely-bug)."""
    import base64
    import pickle
    # pickled by the base version (lazy caches warmed first)
    old = pickle.loads(base64.b64decode('gASVygAAAAAAAACMEXBhY2thZ2luZy52ZXJzaW9ulIwHVmVyc2lvbpSTlCmBlE59lCiMBF9kZXaUTowGX2Vwb2NolEsAjApfa2V5X2NhY2hllChLACmMFXBhY2thZ2luZy5fc3RydWN0dXJlc5SMDEluZmluaXR5VHlwZZSTlCmBlGgIjBROZWdhdGl2ZUluZmluaXR5VHlwZZSTlCmBlGgLaA50lIwGX2xvY2FslE6MBV9wb3N0lE6MBF9wcmWUTowIX3JlbGVhc2WUSwCFlHWGlGIu'))
    assert old is not None  # loading must not raise
