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