diff --git a/trio/_core/_parking_lot.py b/trio/_core/_parking_lot.py index 66d3146793..09f59f0ba9 100644 --- a/trio/_core/_parking_lot.py +++ b/trio/_core/_parking_lot.py @@ -122,6 +122,7 @@ def _abort_func_for(self, task): def abort(_): del self._parked[task] return _core.Abort.SUCCEEDED + return abort # XX this currently returns None