def vereq(a, b):
if not (a == b):<EOL><INDENT>raise TestFailed("<STR_LIT>" % (a, b))<EOL><DEDENT>
Raise TestFailed if a == b is false.

    This is better than verify(a == b) because, in case of failure, the
    error message incorporates repr(a) and repr(b) so you can see the
    inputs.

    Note that "not (a == b)" isn't necessarily the same as "a != b"; the
    former is tested.