code: def test_repr_pretty():
      assert repr_pretty_delegate("asdf") == "'asdf'"
      printer = _MiniPPrinter()
  
      class MyClass(object):
          pass
  
      repr_pretty_impl(
          printer,
          MyClass(),
          ["a", 1],
          [("foo", "bar"), ("asdf", "asdf")],
      )
      assert (
          printer.getvalue()
          == "MyClass('a', 1, foo='bar', asdf='asdf')"
      )
  
imports: import sys
  import numpy
  import six
  from six.moves import cStringIO
  from .compat import optional_dep_ok
label_desc: Use image node_id 16 for calling a global function with example usage: test_repr_pretty() without return types