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 |
||
|---|---|---|
| .. | ||
| test_code.py | ||
| test_excinfo.py | ||
| test_source.py | ||