@assertion
def to_be_null(topic):
    if topic is not None:
        msg = 'Expected topic({0}) to be None'.format(topic)
        raise AssertionError(msg)
Asserts that `topic` is `None`.
dataset/ETHPy150Open heynemann/preggy/preggy/assertions/types/nullable.py/to_be_null