summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-08-30 10:00:26 -0500
committerZachary Ware <zachary.ware@gmail.com>2016-08-30 10:00:26 -0500
commit5cf1c6cb62c39403dbc051d20a272dca0a14ccfb (patch)
tree00dd883f2e1f16ccdd2fcb90ec984f0b9b239f96
parentde354bc7fc6db85bd5cbcad679d4dffeebd92aaa (diff)
downloadcpython-git-5cf1c6cb62c39403dbc051d20a272dca0a14ccfb.tar.gz
Skip test_tools.test_i18n when pygettext.py is missing
-rw-r--r--Lib/test/test_tools/test_i18n.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/test/test_tools/test_i18n.py b/Lib/test/test_tools/test_i18n.py
index 6eaa8ddcc6..ce6f549879 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"""