Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit edb155f

Browse files
committed
UnicodeTranslationsTest.setUp(): Removed the coerce flag to the
GNUTranslations constructor.
1 parent e81866e commit edb155f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_gettext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def setUp(self):
274274
GettextBaseTest.setUp(self)
275275
fp = open(UMOFILE, 'rb')
276276
try:
277-
self.t = gettext.GNUTranslations(fp, coerce=True)
277+
self.t = gettext.GNUTranslations(fp)
278278
finally:
279279
fp.close()
280280
self._ = self.t.ugettext

0 commit comments

Comments
 (0)