def test_not_to_be_null():
    expect('something').Not.to_be_null()
    expect('something').not_to_be_null()

    try:
        expect('something').to_be_null()
    except __HOLE__:
        return

    assert False, 'Should not have gotten this far'
dataset/ETHPy150Open heynemann/preggy/tests/types/test_nullable.py/test_not_to_be_null