]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Group consensus is that supporting alternative locale categories is
authorBarry Warsaw <barry@python.org>
Fri, 25 Aug 2000 19:53:51 +0000 (19:53 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 25 Aug 2000 19:53:51 +0000 (19:53 +0000)
useless.  So the test of the dcgettext() function is removed.

Lib/test/test_gettext.py

index 465030b068a96bbae7fa1ca3a006609939dec8ee..5006fff12a79800c1878a88fa461472593151b2d 100644 (file)
@@ -43,12 +43,6 @@ gettext message catalog library.''')
 
     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)