summaryrefslogtreecommitdiff
path: root/tests/datetimes
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/datetimes
parent564b317fb53e9925b86ca5ef5d3bbcf99387602c (diff)
Replaced assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate.
Follow up to 3f7b3275627385f8f7531fca01cdda50d4ec6b6e.
Diffstat (limited to 'tests/datetimes')
-rw-r--r--tests/datetimes/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/datetimes/tests.py b/tests/datetimes/tests.py
index 58bf3ac0dc..806c28d581 100644
--- a/tests/datetimes/tests.py
+++ b/tests/datetimes/tests.py
@@ -85,7 +85,7 @@ class DateTimesTests(TestCase):
datetime.datetime(2010, 7, 28),
],
)
- self.assertQuerysetEqual(
+ self.assertSequenceEqual(
Article.objects.datetimes("comments__approval_date", "day"), []
)
self.assertSequenceEqual(