diff --git a/tests/test_appctx.py b/tests/test_appctx.py index 0ce0431d..251764cf 100644 --- a/tests/test_appctx.py +++ b/tests/test_appctx.py @@ -160,7 +160,7 @@ def test_app_ctx_globals_methods(app, app_ctx): # __iter__ assert list(flask.g) == ['foo'] #__repr__ - assert flask.g.__repr__() == '' + assert repr(flask.g) == "" def test_custom_app_ctx_globals_class(app):