code: def test_unexpected_exception_is_passed_through_with():
      try:
          with raises(TypeError):
              raise ValueError("some error message")
          assert False
      except ValueError as e:
          assert str(e) == "some error message"
  
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 6 for calling a global function with example usage: test_unexpected_exception_is_passed_through_with() without return types