Skip to content

Commit

Permalink
Drop unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Jan 30, 2018
1 parent 77c24aa commit 3ec9885
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_jinja_globals.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import asyncio
import logging

import jinja2
import pytest
Expand Down Expand Up @@ -120,7 +119,7 @@ def test_static_var_missing(test_client, loop, caplog):

@asyncio.coroutine
def index(request):
with pytest.raises(RuntimeError, match='static_root_url') as ctx:
with pytest.raises(RuntimeError, match='static_root_url'):
aiohttp_jinja2.render_template('tmpl.jinja2', request, {})
return web.Response()

Expand Down

0 comments on commit 3ec9885

Please sign in to comment.