mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #32655 -- Removed extra_tests argument for DiscoverRunner.build_suite()/run_tests().
Per deprecation timeline.
This commit is contained in:
@@ -654,12 +654,6 @@ Methods
|
||||
several formats (see :meth:`DiscoverRunner.build_suite` for a list of
|
||||
supported formats).
|
||||
|
||||
.. deprecated:: 4.0
|
||||
|
||||
``extra_tests`` is a list of extra ``TestCase`` instances to add to the
|
||||
suite that is executed by the test runner. These extra tests are run in
|
||||
addition to those discovered in the modules listed in ``test_labels``.
|
||||
|
||||
This method should return the number of tests that failed.
|
||||
|
||||
.. classmethod:: DiscoverRunner.add_arguments(parser)
|
||||
@@ -695,12 +689,6 @@ Methods
|
||||
tests in all files below the current directory whose names match its
|
||||
``pattern`` (see above).
|
||||
|
||||
.. deprecated:: 4.0
|
||||
|
||||
``extra_tests`` is a list of extra ``TestCase`` instances to add to the
|
||||
suite that is executed by the test runner. These extra tests are run in
|
||||
addition to those discovered in the modules listed in ``test_labels``.
|
||||
|
||||
Returns a ``TestSuite`` instance ready to be run.
|
||||
|
||||
.. method:: DiscoverRunner.setup_databases(**kwargs)
|
||||
|
||||
Reference in New Issue
Block a user