mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Relaxed some query ordering assertions in various tests.
It accounts for differences seen on MySQL with MyISAM storage engine.
This commit is contained in:
@@ -44,7 +44,7 @@ class TestQuerying(TestCase):
|
||||
)
|
||||
|
||||
def test_gt(self):
|
||||
self.assertSequenceEqual(
|
||||
self.assertCountEqual(
|
||||
DurationModel.objects.filter(field__gt=datetime.timedelta(days=0)),
|
||||
[self.objs[0], self.objs[1]],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user