File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -3451,7 +3451,7 @@ def test_string_to_datetime_parsing_cast():
34513451)
34523452def test_interpolate_not_numeric (data ):
34533453 if not data .dtype ._is_numeric :
3454- with pytest .raises (ValueError , match = "Values must be numeric. " ):
3454+ with pytest .raises (NotImplementedError , match = "interpolate is not implemented " ):
34553455 pd .Series (data ).interpolate ()
34563456
34573457
Original file line number Diff line number Diff line change @@ -767,6 +767,7 @@ def test_astype_dt64_to_string(
767767 assert item is pd .NA
768768
769769 # Check that Series/DataFrame.astype matches DatetimeArray.astype
770+ result = obj .astype ("str" )
770771 expected = frame_or_series (dta .astype ("str" ))
771772 tm .assert_equal (result , expected )
772773
You can’t perform that action at this time.
0 commit comments