diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-01-06 13:12:23 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-01-17 11:49:15 +0100 |
| commit | 43b01300b7c7e9d24b549a408010e52a09726060 (patch) | |
| tree | a8baafebcff2208de33a8215cd5dafc33f3ca625 /docs | |
| parent | 4eb97a90f0b4484fb13dd2166a61f9fe7256e9d0 (diff) | |
Refs #32655 -- Removed extra_tests argument for DiscoverRunner.build_suite()/run_tests().
Per deprecation timeline.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.0.txt | 3 | ||||
| -rw-r--r-- | docs/topics/testing/advanced.txt | 12 |
2 files changed, 3 insertions, 12 deletions
diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt index f2904d3359..12478e0b89 100644 --- a/docs/releases/5.0.txt +++ b/docs/releases/5.0.txt @@ -267,6 +267,9 @@ to remove usage of these features. * The default sitemap protocol for sitemaps built outside the context of a request is changed from ``'http'`` to ``'https'``. +* The ``extra_tests`` argument for ``DiscoverRunner.build_suite()`` and + ``DiscoverRunner.run_tests()`` is removed. + See :ref:`deprecated-features-4.1` for details on these changes, including how to remove usage of these features. diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index 4afb36db3d..07fb881aee 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -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) |
