mirror of https://github.com/python/cpython.git
Group consensus is that supporting alternative locale categories is
useless. So the test of the dcgettext() function is removed.
This commit is contained in:
parent
84314b72d6
commit
1dce09da61
|
@ -43,12 +43,6 @@ def test(localedir, mofile):
|
|||
|
||||
print gettext.dgettext('gettext', 'nudge nudge')
|
||||
|
||||
# dcgettext
|
||||
##import locale
|
||||
##if gettext.dcgettext('gettext', 'nudge nudge',
|
||||
## locale.LC_MESSAGES) <> 'wink wink':
|
||||
## print _('dcgettext failed')
|
||||
|
||||
# test the alternative interface
|
||||
fp = open(os.path.join(mofile), 'rb')
|
||||
t = gettext.GNUTranslations(fp)
|
||||
|
|
Loading…
Reference in New Issue