Skip to content

Commit 1c7d5aa

Browse files
committed
Remove class NonzeroFail
1 parent 686e389 commit 1c7d5aa

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pandas/tests/frame/test_analytics.py

-7
Original file line numberDiff line numberDiff line change
@@ -228,13 +228,6 @@ def assert_bool_op_api(opname, bool_frame_with_na, float_string_frame,
228228
getattr(mixed, opname)(axis=0)
229229
getattr(mixed, opname)(axis=1)
230230

231-
class NonzeroFail(object):
232-
233-
def __nonzero__(self):
234-
raise ValueError
235-
236-
mixed['_nonzero_fail_'] = NonzeroFail()
237-
238231
if has_bool_only:
239232
getattr(mixed, opname)(axis=0, bool_only=True)
240233
getattr(mixed, opname)(axis=1, bool_only=True)

0 commit comments

Comments
 (0)