We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pygettext
--version
1 parent a700732 commit d63c994Copy full SHA for d63c994
1 file changed
Lib/test/test_tools/test_i18n.py
@@ -427,6 +427,11 @@ def test_help_text(self):
427
self.assertEqual(res.out, b'')
428
self.assertIn(b'pygettext -- Python equivalent of xgettext(1)', res.err)
429
430
+ def test_version_text(self):
431
+ """Test that the version text is displayed."""
432
+ res = assert_python_ok(self.script, '--version')
433
+ self.assertIn(b'pygettext.py (xgettext for Python) 1.5', res.out)
434
+
435
def test_error_messages(self):
436
"""Test that pygettext outputs error messages to stderr."""
437
stderr = self.get_stderr(dedent('''\
0 commit comments