mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.
Thanks Collin Anderson for the review.
This commit is contained in:
committed by
Loic Bistuer
parent
caf5cd7ba7
commit
b2aad7b836
@@ -429,7 +429,7 @@ class ModelTest(TestCase):
|
||||
pub_date=datetime(2008, 12, 31, 23, 59, 59, 999999),
|
||||
)
|
||||
|
||||
s = set([a10, a11, a12])
|
||||
s = {a10, a11, a12}
|
||||
self.assertTrue(Article.objects.get(headline='Article 11') in s)
|
||||
|
||||
def test_field_ordering(self):
|
||||
|
||||
Reference in New Issue
Block a user