eb7a4e32ad
This causes INTERNALERRORs with pytest-django, which uses `pytest.fail` (derived from `BaseException`) to prevent DB access, when pytest then tries to e.g. display the `repr()` for a Django `QuerySet` etc. Ref: https://github.com/pytest-dev/pytest-django/pull/776
2 lines
90 B
ReStructuredText
2 lines
90 B
ReStructuredText
BaseExceptions are handled in ``saferepr``, which includes ``pytest.fail.Exception`` etc.
|