1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Replaced assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate.

Follow up to 3f7b327562.
This commit is contained in:
Mariusz Felisiak
2022-10-07 13:05:35 +02:00
committed by GitHub
parent 564b317fb5
commit d795259ea9
10 changed files with 55 additions and 114 deletions

View File

@@ -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(