def METHOD_NAME(a: Variable, b: Variable) -> None:
    # Support for iterating over bin contents is limited in Python.
    # So, simply use `identical` even though it does not produce good error messages.
    assert a.bins.unit == b.bins.unit
    assert identical(a, b)