]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Fix frontend tests on Python 2.5, where the case of some of the output of optparse...
authorChristopher Lenz <cmlenz@gmail.com>
Tue, 19 Jun 2007 17:17:46 +0000 (17:17 +0000)
committerChristopher Lenz <cmlenz@gmail.com>
Tue, 19 Jun 2007 17:17:46 +0000 (17:17 +0000)
babel/messages/tests/frontend.py

index 3b0ebe9a97a6b2eec85614f0a1e3586f310a2ee3..c6f48776666d4abac49bae0c4d6bc16a6b06fbad 100644 (file)
@@ -345,7 +345,7 @@ class CommandLineInterfaceTestCase(unittest.TestCase):
 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 @@ options:
   -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')