From 416c584cabd62a13985f1569ccf019c8b351f0a5 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 5 Sep 2019 15:07:12 +0200 Subject: Removed versionadded/changed annotations for 2.2. --- docs/topics/testing/advanced.txt | 4 ---- docs/topics/testing/tools.txt | 13 ------------- 2 files changed, 17 deletions(-) (limited to 'docs/topics/testing') diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index 48006d7b73..d402ea93a6 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -628,10 +628,6 @@ utility methods in the ``django.test.utils`` module. databases should be setup for. If it's not provided, it defaults to all of :setting:`DATABASES` aliases. - .. versionadded:: 2.2 - - The ``aliases`` argument was added. - .. function:: teardown_databases(old_config, parallel=0, keepdb=False) Destroys the test databases, restoring pre-test conditions. diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index e74e3fb21b..bc88e2defa 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -225,11 +225,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.2 - - The JSON serialization was extended to support lists and tuples. In - older versions, only dicts are serialized. - If you provide any other ``content_type`` (e.g. :mimetype:`text/xml` for an XML payload), the contents of ``data`` are sent as-is in the POST request, using ``content_type`` in the HTTP ``Content-Type`` @@ -745,8 +740,6 @@ If your tests make any database queries, use subclasses .. attribute:: SimpleTestCase.databases - .. versionadded:: 2.2 - :class:`~SimpleTestCase` disallows database queries by default. This helps to avoid executing write queries which will affect other tests since each ``SimpleTestCase`` test isn't run in a transaction. If you @@ -1152,8 +1145,6 @@ Multi-database support .. attribute:: TransactionTestCase.databases -.. versionadded:: 2.2 - Django sets up a test database corresponding to every database that is defined in the :setting:`DATABASES` definition in your settings and referred to by at least one test through ``databases``. @@ -1199,8 +1190,6 @@ The previous behavior of ``multi_db = True`` can be achieved by setting .. attribute:: TestCase.databases -.. versionadded:: 2.2 - By default, only the ``default`` database will be wrapped in a transaction during a ``TestCase``'s execution and attempts to query other databases will result in assertion errors to prevent state leaking between tests. @@ -1563,8 +1552,6 @@ your test suite. .. method:: SimpleTestCase.assertURLEqual(url1, url2, msg_prefix='') - .. versionadded:: 2.2 - Asserts that two URLs are the same, ignoring the order of query string parameters except for parameters with the same name. For example, ``/path/?x=1&y=2`` is equal to ``/path/?y=2&x=1``, but -- cgit v1.3