code: def test_curve_pprint_repr(self):
      # Ensure it isn't a bytes object with the 'b' prefix
      expected = "':Curve   [x]   (y)'"
      r = PrettyPrinter.pprint(Curve([1, 2, 3]))
      self.assertEqual(repr(r), expected)
  
file_path: holoviews/holoviews/tests/core/test_prettyprint.py
imports: from holoviews import Curve, Element, Layout, Overlay, Store
  from holoviews.core.pprint import PrettyPrinter
  from holoviews.element.comparison import ComparisonTestCase
  from .test_dimensioned import CustomBackendTestCase, ExampleElement
label_desc: Use image node_id 4 for calling the PrettyPrintTest obj's underlying member method code with example usage: obj.test_curve_pprint_repr() without return types