mirror of
https://github.com/django/django.git
synced 2025-12-15 21:45:20 +00:00
Fixed #27463 -- Fixed E741 flake8 warnings.
This commit is contained in:
parent
c7bfcd2f37
commit
0a63ef3f61
18 changed files with 90 additions and 83 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue