fix context managers that return bool | None
incorrectly being treated as if they can never suppress exceptions
#1425
Loading