Skip to content

Commit 79bbbb9

Browse files
committed
removed object cast for EA dtypes; xref pandas-dev#43152
1 parent 80ce02e commit 79bbbb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/reshape/merge/test_merge_anti.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def test_anti_EA_dtypes(self, dtype):
477477
result = merge(left, right, how="anti_right")
478478
expected = DataFrame(
479479
{"A": [4, 5], "B": [pd.NA, pd.NA], "C": [6, 8]}, dtype=dtype
480-
).astype({"A": object})
480+
)
481481
tm.assert_frame_equal(result, expected)
482482

483483
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)