class_docstr: Test Streamlit utility functions.
class_docstr_tok: ["Test","Streamlit","utility","functions","."]
docstr: Test wrap for functools.wraps
docstr_tok: ["Test","wrap","for","functools.wraps"]
code: def test_functools_wraps(self):
      """Test wrap for functools.wraps"""
  
      import streamlit as st
  
      @st.cache
      def f():
          return True
  
      self.assertEqual(True, hasattr(f, "__wrapped__"))
  
file_path: streamlit/lib/tests/streamlit/util_test.py
imports: import random
  import unittest
  from typing import Dict, List, Set
  from unittest.mock import patch
  import numpy
  from parameterized import parameterized
  from streamlit import util
label_desc: Use image node_id 4 for calling the UtilTest obj's underlying member method code with example usage: obj.test_functools_wraps() and returns: True