mirror of
https://github.com/python/cpython.git
synced 2025-10-18 20:58:48 +00:00
UnicodeTranslationsTest.setUp(): Removed the coerce flag to the
GNUTranslations constructor.
This commit is contained in:
parent
e81866e7c6
commit
edb155fda1
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ class UnicodeTranslationsTest(GettextBaseTest):
|
||||||
GettextBaseTest.setUp(self)
|
GettextBaseTest.setUp(self)
|
||||||
fp = open(UMOFILE, 'rb')
|
fp = open(UMOFILE, 'rb')
|
||||||
try:
|
try:
|
||||||
self.t = gettext.GNUTranslations(fp, coerce=True)
|
self.t = gettext.GNUTranslations(fp)
|
||||||
finally:
|
finally:
|
||||||
fp.close()
|
fp.close()
|
||||||
self._ = self.t.ugettext
|
self._ = self.t.ugettext
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue