mirror of
https://github.com/django/django.git
synced 2025-10-14 20:41:00 +00:00
Fixed #29127 -- Prevented DiscoverRunner from hiding tagged test with syntax errors.
This mades _FailedTest objects always match tags in DiscoverRunner.
This commit is contained in:
parent
7c08f26bf0
commit
038940cf55
5 changed files with 37 additions and 0 deletions
|
@ -1497,6 +1497,12 @@ don't.
|
|||
Runs only tests :ref:`marked with the specified tags <topics-tagging-tests>`.
|
||||
May be specified multiple times and combined with :option:`test --exclude-tag`.
|
||||
|
||||
Tests that fail to load are always considered matching.
|
||||
|
||||
.. versionchanged:: 4.0
|
||||
|
||||
In older versions, tests that failed to load did not match tags.
|
||||
|
||||
.. option:: --exclude-tag EXCLUDE_TAGS
|
||||
|
||||
Excludes tests :ref:`marked with the specified tags <topics-tagging-tests>`.
|
||||
|
|
|
@ -373,6 +373,9 @@ Miscellaneous
|
|||
non-boolean attribute without a value equal to an attribute with the same
|
||||
name and value.
|
||||
|
||||
* Tests that fail to load, for example due to syntax errors, now always match
|
||||
when using :option:`test --tag`.
|
||||
|
||||
.. _deprecated-features-4.0:
|
||||
|
||||
Features deprecated in 4.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue