#32557: Fail tests when unraisable exceptions occur
---------------------------------------------+------------------------
Reporter: Adam Johnson | Owner: nobody
Type: New feature | Status: new
Component: Testing framework | Version: dev
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------------+------------------------
Following django-developers discussion: https://groups.google.com/g
/django-developers/c/ea21KjiGiY4/m/7HTnQaS8BwAJ
Django's test runner should install an unraisable exception hook and fail
the test run if it is ever triggered. The check could be done just once at
the end of the test run (in subprocesses when run in parallel), because
unraisable exceptions already print their traceback by default.
--
Ticket URL: <https://code.djangoproject.com/ticket/32557>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.59dda093510ced31519cd892bdf2ffdd%40djangoproject.com.