Skip to content

Commit 572d62c

Browse files
committed
Remove using_infer_string from astype("string")
1 parent 40db552 commit 572d62c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/frame/methods/test_astype.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,8 +763,8 @@ def test_astype_dt64_to_string(
763763
item = result.iloc[0]
764764
if frame_or_series is DataFrame:
765765
item = item.iloc[0]
766-
if using_infer_string:
767-
assert item is pd.NA
766+
767+
assert item is pd.NA
768768

769769
# Check that Series/DataFrame.astype matches DatetimeArray.astype
770770
result = obj.astype("str")

0 commit comments

Comments
 (0)