Group consensus is that supporting alternative locale categories is

useless.  So the test of the dcgettext() function is removed.
This commit is contained in:
Barry Warsaw 2000-08-25 19:53:51 +00:00
parent 84314b72d6
commit 1dce09da61
1 changed files with 0 additions and 6 deletions

View File

@ -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)