Skip to content

Commit 5963612

Browse files
committed
fix: invert test order
1 parent 03a2840 commit 5963612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/awkward/_pickle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def use_builtin_reducer():
9090

9191

9292
def custom_reduce(obj, protocol: int) -> tuple | NotImplemented:
93-
if (plugin := get_custom_reducer()) is None or _DISABLE_CUSTOM_REDUCER:
93+
if _DISABLE_CUSTOM_REDUCER or (plugin := get_custom_reducer()) is None:
9494
return NotImplemented
9595
else:
9696
return plugin(obj, protocol)

0 commit comments

Comments
 (0)