Removed versionadded/changed annotations for 4.0.

This commit is contained in:
Carlton Gibson 2022-05-10 15:07:11 +02:00 committed by Carlton Gibson
parent d10e569ea5
commit ca1c3151c3
44 changed files with 0 additions and 316 deletions

View file

@ -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.

View file

@ -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

View file

@ -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