Skip to content

Commit 27c718d

Browse files
committed
Fix typing
1 parent 7048361 commit 27c718d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/frame/test_reductions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ def test_any_all_object_dtype(
12971297
)
12981298
if using_infer_string:
12991299
# na in object is True while in string pyarrow numpy it's false
1300-
val = False if axis == 0 and not skipna and bool_agg_func == "all" else True
1300+
val = not axis == 0 and not skipna and bool_agg_func == "all"
13011301
else:
13021302
val = True
13031303
result = getattr(df, bool_agg_func)(axis=axis, skipna=skipna)

0 commit comments

Comments
 (0)