def assert_all_not_match_regex(pattern, values, message="expected %(value)r to not match %(pattern)r", msg=None):
    """Assert that all values don't match a regex pattern.

    Args:
    pattern -- a regex.
    values -- an iterable of values to test.

    Raises AssertionError if any values matches.

    """
    if msg:
        warnings.warn("msg is deprecated", DeprecationWarning)
        message = msg

    for value in values:
        assert not re.match(pattern, value), {'value': value, 'pattern': pattern} % message
dataset/ETHPy150Open Yelp/Testify/testify/assertions.py/assert_all_not_match_regex/swapped operands of `%`