Skip to content

saferepr: handle BaseExceptions#32

Merged
blueyed merged 1 commit intomy-masterfrom
mm-fix-saferepr
Oct 31, 2019
Merged

saferepr: handle BaseExceptions#32
blueyed merged 1 commit intomy-masterfrom
mm-fix-saferepr

Conversation

@blueyed
Copy link
Owner

@blueyed blueyed commented Oct 31, 2019

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: pytest-dev/pytest-django#776

@blueyed blueyed force-pushed the mm-fix-saferepr branch 5 times, most recently from 34dc60a to 9fb9a32 Compare October 31, 2019 02:08
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: pytest-dev/pytest-django#776
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant