From b7a438c7e21cdcb26d47f1c1fc5afdc1b3d1a9ef Mon Sep 17 00:00:00 2001 From: ovkulkarni <2019okulkarn@tjhsst.edu> Date: Wed, 6 May 2020 13:52:12 -0400 Subject: Fixed #31509 -- Made DiscoverRunner enable faulthandler by default. --- docs/ref/django-admin.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index b0913becf0..99cdafd2c8 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1515,6 +1515,14 @@ installed, ``ipdb`` is used instead. Discards output (``stdout`` and ``stderr``) for passing tests, in the same way as :option:`unittest's --buffer option`. +.. django-admin-option:: --no-faulthandler + +.. versionadded:: 3.2 + +Django automatically calls :func:`faulthandler.enable()` when starting the +tests, which allows it to print a traceback if the interpreter crashes. Pass +``--no-faulthandler`` to disable this behavior. + ``testserver`` -------------- -- cgit v1.3