diff --git a/Lib/test/test_argparse.py b/Lib/test/test_argparse.py index f3dd9b1ecc8bd9..4385b93ee56e7d 100644 --- a/Lib/test/test_argparse.py +++ b/Lib/test/test_argparse.py @@ -26,6 +26,7 @@ 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 @@ -6777,6 +6778,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, '')