From f66a8ab1369f197163832a940c25efdb44f3dcde Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Thu, 23 Sep 2021 07:43:37 -0400 Subject: [PATCH] formatting and explicit unicode string literals --- src/allmydata/test/test_openmetrics.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/allmydata/test/test_openmetrics.py b/src/allmydata/test/test_openmetrics.py index 385bf32a8..d74958ffd 100644 --- a/src/allmydata/test/test_openmetrics.py +++ b/src/allmydata/test/test_openmetrics.py @@ -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,