code: def test_lack_of_exception_triggers_AssertionError_callable():
      try:
          raises(Exception, lambda: 1 + 1)
          assert False
      except Failed as e:
          assert "DID NOT RAISE" in str(e)
  
imports: import warnings
  from sympy.testing.pytest import raises, warns, ignore_warnings, warns_deprecated_sympy, Failed
  from sympy.utilities.exceptions import sympy_deprecation_warning
label_desc: Use image node_id 2 for calling a global function with example usage: test_lack_of_exception_triggers_AssertionError_callable() without return types