code: def test_to_numeric_from_nullable_string_coerce(
      nullable_string_dtype,
  ):
      # GH#52146
      values = ["a", "1"]
      ser = Series(values, dtype=nullable_string_dtype)
      result = to_numeric(ser, errors="coerce")
      expected = Series([pd.NA, 1], dtype="Int64")
      tm.assert_series_equal(result, 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 48 for calling a global function with example usage: test_to_numeric_from_nullable_string_coerce(nullable_string_dtype) without return types