()
| 896 | |
| 897 | |
| 898 | def test_coerce_pyarrow_backend(): |
| 899 | # GH 52588 |
| 900 | pa = pytest.importorskip("pyarrow") |
| 901 | ser = Series(list("12x"), dtype=ArrowDtype(pa.string())) |
| 902 | result = to_numeric(ser, errors="coerce", dtype_backend="pyarrow") |
| 903 | expected = Series([1, 2, None], dtype=ArrowDtype(pa.int64())) |
| 904 | tm.assert_series_equal(result, expected) |
nothing calls this directly
no test coverage detected