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

Skip to content

Commit 1dce09d

Browse files
committed
Group consensus is that supporting alternative locale categories is
useless. So the test of the dcgettext() function is removed.
1 parent 84314b7 commit 1dce09d

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

Lib/test/test_gettext.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ def test(localedir, mofile):
4343

4444
print gettext.dgettext('gettext', 'nudge nudge')
4545

46-
# dcgettext
47-
##import locale
48-
##if gettext.dcgettext('gettext', 'nudge nudge',
49-
## locale.LC_MESSAGES) <> 'wink wink':
50-
## print _('dcgettext failed')
51-
5246
# test the alternative interface
5347
fp = open(os.path.join(mofile), 'rb')
5448
t = gettext.GNUTranslations(fp)

0 commit comments

Comments
 (0)