From: Zachary Ware Date: Tue, 30 Aug 2016 15:00:26 +0000 (-0500) Subject: Skip test_tools.test_i18n when pygettext.py is missing X-Git-Tag: v3.6.0b1~524^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5cf1c6cb62c39403dbc051d20a272dca0a14ccfb;p=thirdparty%2FPython%2Fcpython.git Skip test_tools.test_i18n when pygettext.py is missing --- diff --git a/Lib/test/test_tools/test_i18n.py b/Lib/test/test_tools/test_i18n.py index 6eaa8ddcc617..ce6f549879c7 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"""