mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.
Thanks Collin Anderson for the review.
This commit is contained in:
parent
caf5cd7ba7
commit
b2aad7b836
37 changed files with 123 additions and 122 deletions
|
@ -993,8 +993,8 @@ class ContextTests(TestCase):
|
|||
l = ContextList([c1, c2])
|
||||
# None, True and False are builtins of BaseContext, and present
|
||||
# in every Context without needing to be added.
|
||||
self.assertEqual(set(['None', 'True', 'False', 'hello', 'goodbye',
|
||||
'python', 'dolly']),
|
||||
self.assertEqual({'None', 'True', 'False', 'hello', 'goodbye',
|
||||
'python', 'dolly'},
|
||||
l.keys())
|
||||
|
||||
def test_15368(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue