From da2a35cf9ed3ced1425aea361bca49ef759c8706 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Sat, 22 Nov 2014 21:39:06 +0200 Subject: [PATCH] Silenced a flake8 warning. ../tests/shortcuts/views.py:45:1: E302 expected 2 blank lines, found 1 --- tests/shortcuts/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/shortcuts/views.py b/tests/shortcuts/views.py index c75d324a342..66196f11cfc 100644 --- a/tests/shortcuts/views.py +++ b/tests/shortcuts/views.py @@ -42,6 +42,7 @@ def render_to_response_with_context_instance_misuse(request): # Incorrect -- context_instance should be passed as a keyword argument. return render_to_response('shortcuts/render_test.html', context_instance) + def render_view(request): return render(request, 'shortcuts/render_test.html', { 'foo': 'FOO',