diff options
| author | Tim Graham <timograham@gmail.com> | 2018-12-27 19:17:23 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-01-17 10:50:25 -0500 |
| commit | ec7e179aeb177a2a43b448b30d9286eb8539be8d (patch) | |
| tree | 1ff87c31167e933b69c93af7dc12c46e65608534 /docs/topics/testing | |
| parent | eb0ce6fa3669971f1e21a3fdba270cf33d603eaa (diff) | |
Removed versionadded/changed annotations for 2.1.
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/tools.txt | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index e656f89124..233edde2ce 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -128,10 +128,6 @@ Use the ``django.test.Client`` class to make requests. The ``json_encoder`` argument allows setting a custom JSON encoder for the JSON serialization that's described in :meth:`post`. - .. versionchanged:: 2.1 - - The ``json_encoder`` argument was added. - Once you have a ``Client`` instance, you can call any of the following methods: @@ -221,12 +217,6 @@ Use the ``django.test.Client`` class to make requests. :class:`Client`. This serialization also happens for :meth:`put`, :meth:`patch`, and :meth:`delete` requests. - .. versionchanged:: 2.1 - - The JSON serialization described above was added. In older versions, - you can call :func:`json.dumps` on ``data`` before passing it to - ``post()`` to achieve the same thing. - .. versionchanged:: 2.2 The JSON serialization was extended to support lists and tuples. In @@ -1449,8 +1439,6 @@ your test suite. .. method:: SimpleTestCase.assertWarnsMessage(expected_warning, expected_message, callable, *args, **kwargs) SimpleTestCase.assertWarnsMessage(expected_warning, expected_message) - .. versionadded:: 2.1 - Analogous to :meth:`SimpleTestCase.assertRaisesMessage` but for :meth:`~unittest.TestCase.assertWarnsRegex` instead of :meth:`~unittest.TestCase.assertRaisesRegex`. @@ -1755,12 +1743,6 @@ class. Given:: ``SampleTestCaseChild.test`` will be labeled with ``'slow'``, ``'core'``, ``'bar'``, and ``'foo'``. -.. versionchanged:: 2.1 - - In older versions, tagged tests don't inherit tags from classes, and - tagged subclasses don't inherit tags from superclasses. For example, - ``SampleTestCaseChild.test`` is labeled only with ``'bar'``. - Then you can choose which tests to run. For example, to run only fast tests: .. console:: |
