1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #33264 -- Made test runner return non-zero error code for unexpected successes.

This commit is contained in:
Baptiste Mispelon
2021-11-04 15:31:26 +01:00
committed by Mariusz Felisiak
parent 1a5023883b
commit 91acfc3514
6 changed files with 51 additions and 2 deletions

View File

@@ -260,6 +260,9 @@ Miscellaneous
:class:`~django.contrib.contenttypes.fields.GenericRelation` are now cached
on the :class:`~django.db.models.Model` instance to which they belong.
* The Django test runner now returns a non-zero error code for unexpected
successes from tests marked with :py:func:`unittest.expectedFailure`.
.. _deprecated-features-4.1:
Features deprecated in 4.1