Skip to content

Commit 3c2ff54

Browse files
fix test in case of pyarrow strings
1 parent a937dfa commit 3c2ff54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/copy_view/test_replace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def test_replace_list_none():
290290
# https://github.com/pandas-dev/pandas/issues/59770
291291
df3 = df.replace(["d", "e", "f"], value=None)
292292
tm.assert_frame_equal(df3, df_orig)
293-
assert np.shares_memory(get_array(df, "a"), get_array(df3, "a"))
293+
assert tm.shares_memory(get_array(df, "a"), get_array(df3, "a"))
294294

295295

296296
def test_replace_list_none_inplace_refs():

0 commit comments

Comments
 (0)