code: def test_deprecated_core_trace():
      with warns_deprecated_sympy():
          from sympy.core.trace import Tr
  
file_path: sympy/sympy/physics/quantum/tests/test_trace.py
imports: from sympy.core.containers import Tuple
  from sympy.core.symbol import symbols
  from sympy.matrices.dense import Matrix
  from sympy.physics.quantum.trace import Tr
  from sympy.testing.pytest import raises, warns_deprecated_sympy
label_desc: Use image node_id 4 for calling a global function with example usage: test_deprecated_core_trace() without return types