Path 1: 36 calls (1.0)

ZeroDivisionError (12) TypeError (5) KeyError (4) ValueError (2) BadRequestKeyError (2) Exception (2) TestGenericHandlers.Custom (2) KeyboardInterrupt...

False (36)

1def should_ignore_error(self, error: BaseException | None) -> bool:
2        """This is called to figure out if an error should be ignored
3        or not as far as the teardown system is concerned.  If this
4        function returns ``True`` then the teardown handlers will not be
5        passed the error.
6
7        .. versionadded:: 0.10
8        """
9        return False