code: def test_warns_match_non_matching():
      with warnings.catch_warnings(record=True) as w:
          with raises(Failed):
              with warns(
                  UserWarning, match="this is the warning message"
              ):
                  warnings.warn(
                      "this is not the expected warning message",
                      UserWarning,
                  )
          assert len(w) == 0
  
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 14 for calling a global function with example usage: test_warns_match_non_matching() without return types