code: def test_schema_constructor_errors():
      msg = (
          "Do not call Schema's constructor directly, use `pyarrow.schema` "
          "instead"
      )
      with pytest.raises(TypeError, match=msg):
          pa.Schema()
  
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 1 for calling a global function with example usage: test_schema_constructor_errors() without return types