mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +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:
committed by
Mariusz Felisiak
parent
7c08f26bf0
commit
038940cf55
@@ -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>`.
|
||||
|
||||
Reference in New Issue
Block a user