MCPcopy Create free account
hub / github.com/dask/dask / test_to_numeric_raises

Function test_to_numeric_raises

dask/dataframe/tests/test_numeric.py:74–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72
73
74def test_to_numeric_raises():
75 with pytest.raises(ValueError, match="invalid error value"):
76 to_numeric("10", errors="invalid")
77 with pytest.raises(KeyError, match="``meta`` is not allowed"):
78 to_numeric("10", meta=pd.Series([], dtype="float64"))

Callers

nothing calls this directly

Calls 1

to_numericFunction · 0.90

Tested by

no test coverage detected