]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Skip test_tools.test_i18n when pygettext.py is missing
authorZachary Ware <zachary.ware@gmail.com>
Tue, 30 Aug 2016 15:00:26 +0000 (10:00 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Tue, 30 Aug 2016 15:00:26 +0000 (10:00 -0500)
Lib/test/test_tools/test_i18n.py

index 6eaa8ddcc617adf9374215a339e0f506a1ad9c58..ce6f549879c76d5143c72bd0ac9b2cff4ad622be 100644 (file)
@@ -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"""