def assert_not_in(item, sequence, message="assertion failed: expected %(item)r not in %(sequence)r", msg=None):
    """Assert that the item is not in the sequence."""
    if msg:
        warnings.warn("msg is deprecated", DeprecationWarning)
        message = msg

    assert item not in sequence, message % {'item': item, 'sequence': sequence}
dataset/ETHPy150Open Yelp/Testify/testify/assertions.py/assert_not_in/original