code: def no_unicode_pprint(dct):
      """
      Python 2/3 dict __repr__ may be different, because of unicode differens
      (with or without a `u` prefix). Normally in doctests we could use `pprint`
      to sort dicts and check for equality, but here we have to write a separate
      function to do that.
      """
      import pprint
  
      s = pprint.pformat(dct)
      print(re.sub("u'", "'", s))
  
imports: import errno
  import sys
  import os
  import re
  import pkgutil
  import warnings
  import inspect
  import subprocess
  import ast
label_desc: Use image node_id 10 for calling a global function with example usage: no_unicode_pprint(dct) without return types