From 3f7b3275627385f8f7531fca01cdda50d4ec6b6e Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Sun, 18 Oct 2020 18:29:52 +0200 Subject: Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly. This also replaces assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate. Co-authored-by: Peter Inglesby Co-authored-by: Mariusz Felisiak --- docs/internals/deprecation.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/internals') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 46a1aaaee6..06ea0fbbc0 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -26,6 +26,9 @@ details on these changes. * The ``default_app_config`` module variable will be removed. +* ``TransactionTestCase.assertQuerysetEqual()` will no longer automatically + call ``repr()`` on a queryset when compared to string values. + .. _deprecation-removed-in-4.0: 4.0 -- cgit v1.3