summaryrefslogtreecommitdiff
path: root/docs/topics/testing
diff options
context:
space:
mode:
Diffstat (limited to 'docs/topics/testing')
-rw-r--r--docs/topics/testing/advanced.txt9
-rw-r--r--docs/topics/testing/tools.txt20
2 files changed, 3 insertions, 26 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt
index c0251d8368..a78f1b93fc 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:: 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.
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt
index 846d428980..a99ee77cb0 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -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,