changeset 137:ade36d5897f4

Fix frontend tests on Python 2.5, where the case of some of the output of optparse usage has changed.
author cmlenz
date Tue, 19 Jun 2007 17:17:46 +0000
parents 9e3d2b227ec3
children 1c31739516e7
files babel/messages/tests/frontend.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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')
Copyright (C) 2012-2017 Edgewall Software