code: def test_wraps():
      def my_func(x):
          """My function."""
  
      my_func.is_my_func = True
  
      new_my_func = threaded(my_func)
      new_my_func = wraps(my_func)(new_my_func)
  
      assert new_my_func.__name__ == "my_func"
      assert new_my_func.__doc__ == "My function. "
      assert hasattr(new_my_func, "is_my_func")
      assert new_my_func.is_my_func is True
  
file_path: sympy/sympy/utilities/tests/test_decorator.py
imports: from functools import wraps
  from sympy.utilities.decorator import threaded, xthreaded, memoize_property, deprecated
  from sympy.testing.pytest import warns_deprecated_sympy
  from sympy.core.basic import Basic
  from sympy.core.relational import Eq
  from sympy.matrices.dense import Matrix
  from sympy.abc import x, y
label_desc: Use image node_id 3 for calling a global function with example usage: test_wraps() without return types