Skip to content

Commit 3ec9885

Browse files
committed
Drop unused vars
1 parent 77c24aa commit 3ec9885

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_jinja_globals.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import asyncio
2-
import logging
32

43
import jinja2
54
import pytest
@@ -120,7 +119,7 @@ def test_static_var_missing(test_client, loop, caplog):
120119

121120
@asyncio.coroutine
122121
def index(request):
123-
with pytest.raises(RuntimeError, match='static_root_url') as ctx:
122+
with pytest.raises(RuntimeError, match='static_root_url'):
124123
aiohttp_jinja2.render_template('tmpl.jinja2', request, {})
125124
return web.Response()
126125

0 commit comments

Comments
 (0)