Skip to content

Commit

Permalink
fix: invert test order
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Dec 4, 2023
1 parent a052a55 commit 8f7208c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/awkward/_pickle.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def use_builtin_reducer():


def custom_reduce(obj, protocol: int) -> tuple | NotImplemented:
if (plugin := get_custom_reducer()) is None or _DISABLE_CUSTOM_REDUCER:
if _DISABLE_CUSTOM_REDUCER or (plugin := get_custom_reducer()) is None:
return NotImplemented
else:
return plugin(obj, protocol)
Expand Down

0 comments on commit 8f7208c

Please sign in to comment.