11.001001000011111101101010100010001000 Arithmazium
Home

test_cond()

This simple function allows multiple tests to be ganged up in one logical AND.

def test_cond(k, v, t):
    """Respond to test v of severity k, with error message t."""
    if not v:
        bad_cond(k, t)
        print(".\n")
    return


Home