def test_expect_not_to_be_here():
    try:
        expect.not_to_be_here()
    except __HOLE__:
        err = sys.exc_info()[1]
        expect(err).to_be_an_error()
        expect(err).to_be_an_error_like(AssertionError)
        expect(err).to_have_an_error_message_of("Should not have gotten this far.")
    else:
        assert False, "Should not have gotten this far."
dataset/ETHPy150Open heynemann/preggy/tests/test_be_here.py/test_expect_not_to_be_here