From 0ac4e51b2c5056693e72fb9892f0c3dcf2943c25 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 21 Feb 2019 09:40:22 -0500 Subject: [PATCH] Fixed typos in tests/template_tests/test_context.py. --- tests/template_tests/test_context.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/template_tests/test_context.py b/tests/template_tests/test_context.py index bdfd556690..8c6fc98b42 100644 --- a/tests/template_tests/test_context.py +++ b/tests/template_tests/test_context.py @@ -231,12 +231,10 @@ class RequestContextTests(SimpleTestCase): self.assertEqual(engine.from_string('{% include "child" only %}').render(ctx), 'none') def test_stack_size(self): - """ - #7116 -- Optimize RequetsContext construction - """ + """Optimized RequestContext construction (#7116).""" request = self.request_factory.get('/') ctx = RequestContext(request, {}) - # The stack should now contain 3 items: + # The stack contains 4 items: # [builtins, supplied context, context processor, empty dict] self.assertEqual(len(ctx.dicts), 4)