diff options
Diffstat (limited to 'src/zope/tal/tests/test_talgettext.py')
-rw-r--r-- | src/zope/tal/tests/test_talgettext.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/zope/tal/tests/test_talgettext.py b/src/zope/tal/tests/test_talgettext.py index 3799297..d024213 100644 --- a/src/zope/tal/tests/test_talgettext.py +++ b/src/zope/tal/tests/test_talgettext.py @@ -69,11 +69,15 @@ class test_POEngine(unittest.TestCase): # UnicodeDecodeError, which is what we test here. engine.file = 'psc_release_listing.pt' # position is position in file. - engine.translate('foo', 'domain', default=u'Read more\u2026', position=7) + engine.translate('foo', 'domain', + default=u'Read more\u2026', position=7) # Adding the same key with the same default is fine. - engine.translate('foo', 'domain', default=u'Read more\u2026', position=13) - # Adding the same key with a different default is bad and triggers a warning. - engine.translate('foo', 'domain', default='Read still more…', position=42) + engine.translate('foo', 'domain', + default=u'Read more\u2026', position=13) + # Adding the same key with a different default is bad and + # triggers a warning. + engine.translate('foo', 'domain', + default='Read still more…', position=42) def test_dynamic_msgids(self): sample_source = """ |