diff options
author | Lukas Balaga <lukas.balaga@gmail.com> | 2016-02-27 16:31:18 -0800 |
---|---|---|
committer | Lukas Balaga <lukas.balaga@gmail.com> | 2016-02-27 16:58:14 -0800 |
commit | 92bb5177b19cc9e99c643c6dc7f9e35331cde2db (patch) | |
tree | 57e73343a2f04602e68ac020dc0e4127ae565f88 /tests/messages/test_pofile.py | |
parent | da4f5e818417e94858c643be531f7a388bacf200 (diff) | |
download | babel-92bb5177b19cc9e99c643c6dc7f9e35331cde2db.tar.gz |
Apply pre-commit fixes.
Diffstat (limited to 'tests/messages/test_pofile.py')
-rw-r--r-- | tests/messages/test_pofile.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/messages/test_pofile.py b/tests/messages/test_pofile.py index f375a1a..1bac360 100644 --- a/tests/messages/test_pofile.py +++ b/tests/messages/test_pofile.py @@ -188,7 +188,7 @@ msgstr "Bahr" out_buf = BytesIO() pofile.write_po(out_buf, catalog, omit_header=True) assert out_buf.getvalue().strip() == buf.getvalue().strip(), \ - out_buf.getvalue() + out_buf.getvalue() def test_with_context_two(self): buf = BytesIO(b'''msgctxt "Menu" @@ -299,7 +299,7 @@ not be removed catalog.add(text, locations=[('main.py', 1)]) buf = BytesIO() pofile.write_po(buf, catalog, no_location=True, omit_header=True, - width=42) + width=42) self.assertEqual(b'''msgid "" "Here's some text where\\n" "white space and line breaks matter, and" @@ -317,7 +317,7 @@ includesareallylongwordthatmightbutshouldnt throw us into an infinite loop catalog.add(text, locations=[('main.py', 1)]) buf = BytesIO() pofile.write_po(buf, catalog, no_location=True, omit_header=True, - width=32) + width=32) self.assertEqual(b'''msgid "" "Here's some text that\\n" "includesareallylongwordthatmightbutshouldnt" |