mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Removed versionadded/changed annotations for 3.2.
This commit is contained in:
parent
810bca5a1a
commit
97237ad3fe
56 changed files with 3 additions and 455 deletions
|
@ -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:: 3.2
|
||||
|
||||
The ``enable_faulthandler`` and ``timing`` arguments were added.
|
||||
|
||||
.. versionadded:: 4.0
|
||||
|
||||
The ``logger`` and ``shuffle`` arguments were added.
|
||||
|
@ -783,11 +779,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:: 3.2
|
||||
|
||||
The ``time_keeper`` kwarg was added, and all kwargs were made
|
||||
keyword-only.
|
||||
|
||||
.. versionchanged:: 4.0
|
||||
|
||||
The ``serialized_aliases`` kwarg was added.
|
||||
|
|
|
@ -868,18 +868,12 @@ It also provides an additional method:
|
|||
(for instance, MySQL with the MyISAM engine), ``setUpTestData()`` will be
|
||||
called before each test, negating the speed benefits.
|
||||
|
||||
.. versionchanged:: 3.2
|
||||
|
||||
Objects assigned to class attributes in ``setUpTestData()`` must
|
||||
support creating deep copies with :py:func:`copy.deepcopy` in order to
|
||||
isolate them from alterations performed by each test methods. In
|
||||
previous versions of Django these objects were reused and changes made
|
||||
to them were persisted between test methods.
|
||||
Objects assigned to class attributes in ``setUpTestData()`` must support
|
||||
creating deep copies with :py:func:`copy.deepcopy` in order to isolate them
|
||||
from alterations performed by each test methods.
|
||||
|
||||
.. classmethod:: TestCase.captureOnCommitCallbacks(using=DEFAULT_DB_ALIAS, execute=False)
|
||||
|
||||
.. versionadded:: 3.2
|
||||
|
||||
Returns a context manager that captures :func:`transaction.on_commit()
|
||||
<django.db.transaction.on_commit>` callbacks for the given database
|
||||
connection. It returns a list that contains, on exit of the context, the
|
||||
|
@ -1706,14 +1700,6 @@ your test suite.
|
|||
|
||||
Output in case of error can be customized with the ``msg`` argument.
|
||||
|
||||
.. versionchanged:: 3.2
|
||||
|
||||
The default value of ``transform`` argument was changed to ``None``.
|
||||
|
||||
.. versionadded:: 3.2
|
||||
|
||||
Support for direct comparison between querysets was added.
|
||||
|
||||
.. deprecated:: 3.2
|
||||
|
||||
If ``transform`` is not provided and ``values`` is a list of strings,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue