Skip to content

Commit a2e1c34

Browse files
committed
remove dtype=object to fix tests
1 parent d3d1c17 commit a2e1c34

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/tests/extension/test_arrow.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,7 @@ def test_map(self, data_missing, na_action):
281281
if data_missing.dtype.kind in "mM":
282282
mapper = lambda x: x
283283
result = data_missing.map(mapper, na_action=na_action)
284-
expected = map_array(
285-
data_missing.to_numpy(dtype=object), mapper, na_action=na_action
286-
)
284+
expected = map_array(data_missing.to_numpy(), mapper, na_action=na_action)
287285
tm.assert_numpy_array_equal(result, expected)
288286
else:
289287
result = data_missing.map(lambda x: x, na_action=na_action)

0 commit comments

Comments
 (0)