apply pyupgrade

This commit is contained in:
David Lord 2020-04-04 09:43:06 -07:00
parent 57d628ca74
commit 524fd0bc8c
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
54 changed files with 169 additions and 230 deletions

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
tests.templating
~~~~~~~~~~~~~~~~
@ -417,14 +416,14 @@ def test_template_loader_debugging(test_apps, monkeypatch):
text = str(record.msg)
assert '1: trying loader of application "blueprintapp"' in text
assert (
'2: trying loader of blueprint "admin" ' "(blueprintapp.apps.admin)"
'2: trying loader of blueprint "admin" (blueprintapp.apps.admin)'
) in text
assert (
'trying loader of blueprint "frontend" ' "(blueprintapp.apps.frontend)"
'trying loader of blueprint "frontend" (blueprintapp.apps.frontend)'
) in text
assert "Error: the template could not be found" in text
assert (
"looked up from an endpoint that belongs to " 'the blueprint "frontend"'
'looked up from an endpoint that belongs to the blueprint "frontend"'
) in text
assert "See https://flask.palletsprojects.com/blueprints/#templates" in text