Skip to content

Commit cf72a99

Browse files
author
MomIsBestFriend
committed
Disabled deprecated tests
1 parent e81bfe9 commit cf72a99

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

pandas/tests/series/test_apply.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,8 @@ def test_non_callable_aggregates(self):
375375
("sum", "abc"),
376376
("max", "c"),
377377
("min", "a"),
378-
("all", "c"), # see GH12863
379-
("any", "a"),
378+
("all", True),
379+
("any", True),
380380
],
381381
),
382382
),

pandas/tests/test_nanops.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -270,13 +270,17 @@ def _badobj_wrap(self, value, func, allow_complex=True, **kwargs):
270270
value = value.astype("f8")
271271
return func(value, **kwargs)
272272

273+
# GH #12863
274+
# Disabled until https://github.com/numpy/numpy/issues/4352
275+
# is fixed
276+
@pytest.mark.xfail(reason="disabled")
273277
@pytest.mark.parametrize(
274278
"nan_op,np_op", [(nanops.nanany, np.any), (nanops.nanall, np.all)]
275279
)
276280
def test_nan_funcs(self, nan_op, np_op):
277281
# TODO: allow tdelta, doesn't break tests
278282
self.check_funs(
279-
nan_op, np_op, allow_all_nan=False, allow_date=False, allow_tdelta=False
283+
nan_op, np_op, allow_all_nan=True, allow_date=False, allow_tdelta=False
280284
)
281285

282286
def test_nansum(self):

0 commit comments

Comments
 (0)