# HG changeset patch # User cmlenz # Date 1182273466 0 # Node ID d645b7d113432147dbb6e393ee6cfac22bf3f634 # Parent 58b729b647f39327341ed253a3be3f54e91c3291 Fix frontend tests on Python 2.5, where the case of some of the output of optparse usage has changed. diff --git a/babel/messages/tests/frontend.py b/babel/messages/tests/frontend.py --- a/babel/messages/tests/frontend.py +++ b/babel/messages/tests/frontend.py @@ -345,7 +345,7 @@ usage: babel command [options] [args] babel: error: incorrect number of arguments -""", sys.stderr.getvalue()) +""", sys.stderr.getvalue().lower()) def test_help(self): try: @@ -361,9 +361,9 @@ -h, --help show this help message and exit commands: - extract extract messages from source files and generate a POT file + extract extract messages from source files and generate a pot file init create new message catalogs from a template -""", sys.stdout.getvalue()) +""", sys.stdout.getvalue().lower()) def test_extract_with_default_mapping(self): pot_file = os.path.join(self.datadir, 'project', 'i18n', 'temp.pot')