diff options
author | Tomas R. <tomas.roun8@gmail.com> | 2024-10-27 18:09:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-27 18:09:08 (GMT) |
commit | 6870eb3f7322ed64a1ca8bbda5cf4e121e181b54 (patch) | |
tree | c419fa813797e690571bb58fcbea28642644f340 /Lib | |
parent | ed5059eeb1aa50b481957307db5a34b937497382 (diff) | |
download | cpython-6870eb3f7322ed64a1ca8bbda5cf4e121e181b54.zip cpython-6870eb3f7322ed64a1ca8bbda5cf4e121e181b54.tar.gz cpython-6870eb3f7322ed64a1ca8bbda5cf4e121e181b54.tar.bz2 |
gh-124295: Skip translation tests when pygettext is missing (GH-126051)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_argparse.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_argparse.py b/Lib/test/test_argparse.py index 06b6160..427e6bc 100644 --- a/Lib/test/test_argparse.py +++ b/Lib/test/test_argparse.py @@ -27,6 +27,7 @@ from test.support import import_helper from test.support import os_helper from test.support import requires_subprocess from test.support import script_helper +from test.test_tools import skip_if_missing from unittest import mock @@ -7036,6 +7037,7 @@ class TestTranslations(unittest.TestCase): def test_translations(self): # Test messages extracted from the argparse module against a snapshot + skip_if_missing('i18n') res = generate_po_file(stdout_only=False) self.assertEqual(res.returncode, 0) self.assertEqual(res.stderr, '') |