summaryrefslogtreecommitdiff
path: root/tests/messages/test_pofile.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/messages/test_pofile.py')
-rw-r--r--tests/messages/test_pofile.py2
1 files changed, 1 insertions, 1 deletions
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():