formatting and explicit unicode string literals

This commit is contained in:
Jean-Paul Calderone 2021-09-23 07:43:37 -04:00
parent cbb96bd57a
commit f66a8ab136

View File

@ -180,7 +180,10 @@ def matches_stats(testcase):
MatchesStructure(
code=Equals(OK),
# "The content type MUST be..."
headers=has_header("content-type", "application/openmetrics-text; version=1.0.0; charset=utf-8"),
headers=has_header(
u"content-type",
u"application/openmetrics-text; version=1.0.0; charset=utf-8",
),
),
AfterPreprocessing(
readBodyText,