

def test_numeric(self):
    s = pd.Series([1, (- 3.14), 7], dtype='O')
    res = to_numeric(s)
    expected = pd.Series([1, (- 3.14), 7])
    tm.assert_series_equal(res, expected)
    s = pd.Series([1, (- 3.14), 7])
    res = to_numeric(s)
    tm.assert_series_equal(res, self)

dataset/ETHPy150Open pydata/pandas/pandas/tools/tests/test_util.py TestToNumeric.test_numeric/VarMisuse@97/110 `expected`->`self`