Skip to content

Commit bae9be1

Browse files
string[pyarrow_numpy] -> str
1 parent fc6bd39 commit bae9be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/frame/methods/test_replace.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ def test_regex_replace_string_types(
452452
)
453453
with tm.assert_produces_warning(FutureWarning, match="Downcasting"):
454454
result = obj.replace(to_replace, regex=True)
455-
dtype = "string[pyarrow_numpy]"
455+
dtype = "str"
456456
else:
457457
result = obj.replace(to_replace, regex=True)
458458
expected = frame_or_series(expected, dtype=dtype)

0 commit comments

Comments
 (0)