(args)
return local_res == expected
Checks expression and compare the outcome against a known value.
Checks expression and compare the outcome against a known value.
Checks expression and compare the outcome against a known value .
def check_validity_and_test(args):
    """Checks expression and compare the outcome against a known value."""

    expr, expected = args # IMPORTANT: Unpack args !!!
    local_res = is_valid(expr)
    return local_res == expected
def check_validity_and_test ( args ) : expr , expected = args # IMPORTANT: Unpack args !!! local_res = is_valid ( expr ) return local_res == expected