code: def test_int64_overflow(all_parsers, conv, request):
      data = """ID
  00013007854817840016671868
  00013007854817840016749251
  00013007854817840016754630
  00013007854817840016781876
  00013007854817840017028824
  00013007854817840017963235
  00013007854817840018860166"""
      parser = all_parsers
  
      if conv is None:
          # 13007854817840016671868 > UINT64_MAX, so this
          # will overflow and return object as the dtype.
          if parser.engine == "pyarrow":
              mark = pytest.mark.xfail(reason="parses to float64")
              request.applymarker(mark)
  
          result = parser.read_csv(StringIO(data))
          expected = DataFrame(
              [
                  "00013007854817840016671868",
                  "00013007854817840016749251",
                  "00013007854817840016754630",
                  "00013007854817840016781876",
                  "00013007854817840017028824",
                  "00013007854817840017963235",
                  "00013007854817840018860166",
              ],
              columns=["ID"],
          )
          tm.assert_frame_equal(result, expected)
      else:
          # 13007854817840016671868 > UINT64_MAX, so attempts
          # to cast to either int64 or uint64 will result in
          # an OverflowError being raised.
          msg = "|".join(
              [
                  "Python int too large to convert to C long",
                  "long too big to convert",
                  "int too big to convert",
              ]
          )
          err = OverflowError
          if parser.engine == "pyarrow":
              err = ValueError
              msg = "The 'converters' option is not supported with the 'pyarrow' engine"
  
          with pytest.raises(err, match=msg):
              parser.read_csv(StringIO(data), converters={"ID": conv})
  
file_path: pandas/pandas/tests/io/parser/common/test_ints.py
imports: from io import StringIO
  import numpy
  import pytest
  from pandas import DataFrame, Series
  import pandas._testing
label_desc: Use image node_id 6 for calling a global function with example usage: test_int64_overflow(all_parsers, conv, request) without return types