Skip to content

Commit

Permalink
Merge pull request #1313 from homeworkprod/patch-1
Browse files Browse the repository at this point in the history
Added missing import.
  • Loading branch information
untitaker committed Jan 13, 2015
2 parents 5b98266 + e3bb34e commit b68dc78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ having to change some code. This can trivially be accomplished with
hooking the :data:`flask.appcontext_pushed` signal::

from contextlib import contextmanager
from flask import appcontext_pushed
from flask import appcontext_pushed, g

@contextmanager
def user_set(app, user):
Expand Down

0 comments on commit b68dc78

Please sign in to comment.