From ec7e179aeb177a2a43b448b30d9286eb8539be8d Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 27 Dec 2018 19:17:23 -0500 Subject: Removed versionadded/changed annotations for 2.1. --- docs/topics/testing/tools.txt | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'docs/topics/testing') 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:: -- cgit v1.3