code: def test_schema_repr_with_dictionaries():
      fields = [
          pa.field("one", pa.dictionary(pa.int16(), pa.string())),
          pa.field("two", pa.int32()),
      ]
      sch = pa.schema(fields)
  
      expected = """\
  one: dictionary<values=string, indices=int16, ordered=0>
  two: int32"""
  
      assert repr(sch) == expected
  
imports: from collections import OrderedDict
  import sys
  import weakref
  import pytest
  import numpy
  import pyarrow
  import pyarrow.tests.util
  from pyarrow.vendored.version import Version
label_desc: Use image node_id 26 for calling a global function with example usage: test_schema_repr_with_dictionaries() without return types