code: def test_parse_options(pickle_module):
      cls = ParseOptions
      opts = cls()
      assert opts.newlines_in_values is False
      assert opts.explicit_schema is None
  
      opts.newlines_in_values = True
      assert opts.newlines_in_values is True
  
      schema = pa.schema([pa.field("foo", pa.int32())])
      opts.explicit_schema = schema
      assert opts.explicit_schema == schema
  
      assert opts.unexpected_field_behavior == "infer"
      for value in ["ignore", "error", "infer"]:
          opts.unexpected_field_behavior = value
          assert opts.unexpected_field_behavior == value
  
      with pytest.raises(ValueError):
          opts.unexpected_field_behavior = "invalid-value"
  
      check_options_class_pickling(
          cls,
          pickler=pickle_module,
          explicit_schema=schema,
          newlines_in_values=False,
          unexpected_field_behavior="ignore",
      )
  
imports: from collections import OrderedDict
  from decimal import Decimal
  import io
  import itertools
  import json
  import string
  import unittest
  import numpy
  import pytest
  import pyarrow
  from pyarrow.json import read_json, ReadOptions, ParseOptions
label_desc: Use image node_id 5 for calling a global function with example usage: test_parse_options(pickle_module) without return types