summaryrefslogtreecommitdiff
path: root/tests/dates
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-10-07 13:05:35 +0200
committerGitHub <noreply@github.com>2022-10-07 13:05:35 +0200
commitd795259ea96004df0a2469246229a146307bcd2c (patch)
tree96d797dacdb7b4c68cd32afc1f2ed6f15e0a2bcd /tests/dates
parent564b317fb53e9925b86ca5ef5d3bbcf99387602c (diff)
Replaced assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate.
Follow up to 3f7b3275627385f8f7531fca01cdda50d4ec6b6e.
Diffstat (limited to 'tests/dates')
-rw-r--r--tests/dates/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dates/tests.py b/tests/dates/tests.py
index ef145bafd0..bf1f748ff8 100644
--- a/tests/dates/tests.py
+++ b/tests/dates/tests.py
@@ -80,7 +80,7 @@ class DatesTests(TestCase):
datetime.date(2010, 7, 28),
],
)
- self.assertQuerysetEqual(
+ self.assertSequenceEqual(
Article.objects.dates("comments__approval_date", "day"), []
)
self.assertSequenceEqual(