mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #27463 -- Fixed E741 flake8 warnings.
This commit is contained in:
committed by
Tim Graham
parent
c7bfcd2f37
commit
0a63ef3f61
@@ -956,10 +956,10 @@ class ContextTests(TestDataMixin, TestCase):
|
||||
c2.update({'goodbye': 'world', 'python': 'rocks'})
|
||||
c2.update({'goodbye': 'dolly'})
|
||||
|
||||
l = ContextList([c1, c2])
|
||||
k = ContextList([c1, c2])
|
||||
# None, True and False are builtins of BaseContext, and present
|
||||
# in every Context without needing to be added.
|
||||
self.assertEqual({'None', 'True', 'False', 'hello', 'goodbye', 'python', 'dolly'}, l.keys())
|
||||
self.assertEqual({'None', 'True', 'False', 'hello', 'goodbye', 'python', 'dolly'}, k.keys())
|
||||
|
||||
def test_15368(self):
|
||||
# Need to insert a context processor that assumes certain things about
|
||||
|
||||
Reference in New Issue
Block a user