From 5cf1c6cb62c39403dbc051d20a272dca0a14ccfb Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Tue, 30 Aug 2016 10:00:26 -0500 Subject: [PATCH] Skip test_tools.test_i18n when pygettext.py is missing --- Lib/test/test_tools/test_i18n.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_tools/test_i18n.py b/Lib/test/test_tools/test_i18n.py index 6eaa8ddcc61..ce6f549879c 100644 --- a/Lib/test/test_tools/test_i18n.py +++ b/Lib/test/test_tools/test_i18n.py @@ -4,9 +4,13 @@ import os import unittest from test.support.script_helper import assert_python_ok -from test.test_tools import toolsdir +from test.test_tools import skip_if_missing, toolsdir from test.support import temp_cwd + +skip_if_missing() + + class Test_pygettext(unittest.TestCase): """Tests for the pygettext.py tool"""