From a579720005cbaab17a19a47d239623a95e2036ce Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Wed, 2 Nov 2022 09:38:38 +0200 Subject: Replace %/.format/concatenation with f-strings where feasible Original conversion suggestions via flynt, edited by hand. --- tests/messages/test_pofile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/messages/test_pofile.py') diff --git a/tests/messages/test_pofile.py b/tests/messages/test_pofile.py index 99e59ba..a72368b 100644 --- a/tests/messages/test_pofile.py +++ b/tests/messages/test_pofile.py @@ -859,7 +859,7 @@ class PofileFunctionsTestCase(unittest.TestCase): expected_denormalized = u'multi-line\n translation' assert expected_denormalized == pofile.denormalize(msgstr) - assert expected_denormalized == pofile.denormalize('""\n' + msgstr) + assert expected_denormalized == pofile.denormalize(f'""\n{msgstr}') def test_unknown_language_roundtrip(): -- cgit v1.2.1