summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-09-16 09:12:56 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-09-20 21:23:01 +0200
commite2be307b3ab6ebf339b3a765fe64967c9602266f (patch)
treee6a7a2c3d5c463c9ced7e094781f4066b5a19dba /docs
parent75d6c4ae6df93c4c4d8621aced3a180afa18a6cb (diff)
Refs #31235 -- Made assertQuerysetEqual() not call repr() on a queryset when compared to string values.
Per deprecation timeline.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/4.1.txt3
-rw-r--r--docs/topics/testing/tools.txt7
2 files changed, 3 insertions, 7 deletions
diff --git a/docs/releases/4.1.txt b/docs/releases/4.1.txt
index 8fbcbf145b..8cb4297d0e 100644
--- a/docs/releases/4.1.txt
+++ b/docs/releases/4.1.txt
@@ -257,3 +257,6 @@ to remove usage of these features.
``django.core.validators.EmailValidator`` are removed.
* The ``default_app_config`` application configuration variable is removed.
+
+* ``TransactionTestCase.assertQuerysetEqual()`` no longer calls ``repr()`` on a
+ queryset when compared to string values.
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt
index a99ee77cb0..99aff9c116 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -1700,13 +1700,6 @@ your test suite.
Output in case of error can be customized with the ``msg`` argument.
- .. deprecated:: 3.2
-
- If ``transform`` is not provided and ``values`` is a list of strings,
- it's compared to a list produced by applying ``repr()`` to each member
- of ``qs``. This behavior is deprecated and will be removed in Django
- 4.1. If you need it, explicitly set ``transform`` to ``repr``.
-
.. method:: TransactionTestCase.assertNumQueries(num, func, *args, **kwargs)
Asserts that when ``func`` is called with ``*args`` and ``**kwargs`` that