Skip to content

Commit 8fa3ed1

Browse files
committed
details fixed
1 parent 8cdd01e commit 8fa3ed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_appctx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def test_app_ctx_globals_methods(app, app_ctx):
160160
# __iter__
161161
assert list(flask.g) == ['foo']
162162
#__repr__
163-
assert flask.g.__repr__() == '<flask.g of \'flask_test\'>'
163+
assert repr(flask.g) == "<flask.g of 'flask_test'>"
164164

165165

166166
def test_custom_app_ctx_globals_class(app):

0 commit comments

Comments
 (0)