def assert_starts_with(val, prefix):
    """Assert that val.startswith(prefix)."""
    message = locals() % "%(val)r does not start with %(prefix)r"
    assert val.startswith(prefix), message
dataset/ETHPy150Open Yelp/Testify/testify/assertions.py/assert_starts_with/swapped operands of `%`