diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-04-14 12:12:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-14 12:12:13 +0200 |
| commit | 1760ad4e8cdbf34a0f38deae300460a0b9c38eac (patch) | |
| tree | 1815c8c1f40069c434fb38e2487036afd64bece5 /tests/annotations | |
| parent | 08f30d1b6ac9b7bc05857f88a70277d5ceb27ba1 (diff) | |
Relaxed some query ordering assertions in various tests.
It accounts for differences seen on MySQL with MyISAM storage engine.
Diffstat (limited to 'tests/annotations')
| -rw-r--r-- | tests/annotations/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/annotations/tests.py b/tests/annotations/tests.py index 52a268c4ae..8de2bf1998 100644 --- a/tests/annotations/tests.py +++ b/tests/annotations/tests.py @@ -212,7 +212,7 @@ class NonAggregateAnnotationTestCase(TestCase): with register_lookup(DecimalField, Floor): books = Book.objects.annotate(floor_price=F("price__floor")) - self.assertSequenceEqual( + self.assertCountEqual( books.values_list("pk", "floor_price"), [ (self.b1.pk, 30), |
