code: def test_signed_downcast(data, signed_downcast):
      # see gh-13352
      smallest_int_dtype = np.dtype(np.typecodes["Integer"][0])
      expected = np.array([1, 2, 3], dtype=smallest_int_dtype)
  
      res = to_numeric(data, downcast=signed_downcast)
      tm.assert_numpy_array_equal(res, expected)
  
imports: import decimal
  import numpy
  from numpy import iinfo
  import pytest
  import pandas.util._test_decorators
  import pandas
  from pandas import ArrowDtype, DataFrame, Index, Series, option_context, to_numeric
  import pandas._testing
label_desc: Use image node_id 34 for calling a global function with example usage: test_signed_downcast(data, signed_downcast) without return types