summaryrefslogtreecommitdiff
path: root/tests/messages/test_catalog.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/messages/test_catalog.py')
-rw-r--r--tests/messages/test_catalog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/messages/test_catalog.py b/tests/messages/test_catalog.py
index cc5fb49..e9b15a8 100644
--- a/tests/messages/test_catalog.py
+++ b/tests/messages/test_catalog.py
@@ -357,7 +357,7 @@ def test_catalog_mime_headers():
('MIME-Version', '1.0'),
('Content-Type', 'text/plain; charset=utf-8'),
('Content-Transfer-Encoding', '8bit'),
- ('Generated-By', 'Babel %s\n' % catalog.VERSION),
+ ('Generated-By', f'Babel {catalog.VERSION}\n'),
]
@@ -380,7 +380,7 @@ def test_catalog_mime_headers_set_locale():
('MIME-Version', '1.0'),
('Content-Type', 'text/plain; charset=utf-8'),
('Content-Transfer-Encoding', '8bit'),
- ('Generated-By', 'Babel %s\n' % catalog.VERSION),
+ ('Generated-By', f'Babel {catalog.VERSION}\n'),
]