Skip to content

Commit 85a702d

Browse files
committed
Remove the comment block in test_any_all_extra
1 parent 4a24596 commit 85a702d

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

pandas/tests/frame/test_analytics.py

-20
Original file line numberDiff line numberDiff line change
@@ -1374,26 +1374,6 @@ def test_any_all_extra(self):
13741374
result = df[['C']].all(axis=None).item()
13751375
assert result is True
13761376

1377-
# skip pathological failure cases
1378-
# class CantNonzero(object):
1379-
1380-
# def __nonzero__(self):
1381-
# raise ValueError
1382-
1383-
# df[4] = CantNonzero()
1384-
1385-
# it works!
1386-
# df.any(1)
1387-
# df.all(1)
1388-
# df.any(1, bool_only=True)
1389-
# df.all(1, bool_only=True)
1390-
1391-
# df[4][4] = np.nan
1392-
# df.any(1)
1393-
# df.all(1)
1394-
# df.any(1, bool_only=True)
1395-
# df.all(1, bool_only=True)
1396-
13971377
def test_any_datetime(self):
13981378

13991379
# GH 23070

0 commit comments

Comments
 (0)