diff options
| author | Carlton Gibson <carlton.gibson@noumenal.es> | 2022-05-10 15:07:11 +0200 |
|---|---|---|
| committer | Carlton Gibson <carlton@noumenal.es> | 2022-05-17 14:22:06 +0200 |
| commit | ca1c3151c3df48f1fb2cd17df9cfe93800254665 (patch) | |
| tree | 81a02e0cfbb4f67af2f2406b8e8ac5ce20f824c4 /docs/topics/testing | |
| parent | d10e569ea5786d3a5babac760c4facb1ff029a68 (diff) | |
Removed versionadded/changed annotations for 4.0.
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/advanced.txt | 10 | ||||
| -rw-r--r-- | docs/topics/testing/overview.txt | 5 | ||||
| -rw-r--r-- | docs/topics/testing/tools.txt | 11 |
3 files changed, 0 insertions, 26 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index 9159463c36..9c71a73312 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -600,10 +600,6 @@ and tear down the test suite. custom arguments by calling ``parser.add_argument()`` inside the method, so that the :djadmin:`test` command will be able to use those arguments. - .. versionadded:: 4.0 - - The ``logger`` and ``shuffle`` arguments were added. - Attributes ~~~~~~~~~~ @@ -725,8 +721,6 @@ Methods .. method:: DiscoverRunner.log(msg, level=None) - .. versionadded:: 4.0 - If a ``logger`` is set, logs the message at the given integer `logging level`_ (e.g. ``logging.DEBUG``, ``logging.INFO``, or ``logging.WARNING``). Otherwise, the message is printed to the console, @@ -779,10 +773,6 @@ utility methods in the ``django.test.utils`` module. :ref:`serialized_rollback <test-case-serialized-rollback>` feature. If it's not provided, it defaults to ``aliases``. - .. versionchanged:: 4.0 - - The ``serialized_aliases`` kwarg was added. - .. function:: teardown_databases(old_config, parallel=0, keepdb=False) Destroys the test databases, restoring pre-test conditions. diff --git a/docs/topics/testing/overview.txt b/docs/topics/testing/overview.txt index 7bfc3dd1dd..750ecb5dc2 100644 --- a/docs/topics/testing/overview.txt +++ b/docs/topics/testing/overview.txt @@ -239,11 +239,6 @@ You may randomize and/or reverse the execution order inside groups using the :option:`test --shuffle` and :option:`--reverse <test --reverse>` options. This can help with ensuring your tests are independent from each other. -.. versionchanged:: 4.0 - - In older versions, failures detected when loading tests were not ordered - first. - .. _test-case-serialized-rollback: Rollback emulation diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 836dab54e4..c4b41d5365 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -906,11 +906,6 @@ It also provides an additional method: self.assertEqual(mail.outbox[0].subject, 'Contact Form') self.assertEqual(mail.outbox[0].body, 'I like your site') - .. versionchanged:: 4.0 - - In older versions, new callbacks added while executing - :func:`.transaction.on_commit` callbacks were not captured. - .. _live-test-server: ``LiveServerTestCase`` @@ -1650,12 +1645,6 @@ your test suite. Output in case of error can be customized with the ``msg`` argument. - .. versionchanged:: 4.0 - - In older versions, any attribute (not only boolean attributes) without - a value was considered equal to an attribute with the same name and - value. - .. method:: SimpleTestCase.assertHTMLNotEqual(html1, html2, msg=None) Asserts that the strings ``html1`` and ``html2`` are *not* equal. The |
