def test_lack_of_exception_triggers_AssertionError_with():
    try:
        with raises(Exception):
            1 + 1
        assert False
    except AssertionError as e:
        assert str(e) == "DID NOT RAISE"
dataset/ETHPy150Open sympy/sympy/sympy/utilities/tests/test_pytest.py/test_lack_of_exception_triggers_AssertionError_with/original