summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-08-30 15:00:26 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-08-30 15:00:26 (GMT)
commit5cf1c6cb62c39403dbc051d20a272dca0a14ccfb (patch)
tree00dd883f2e1f16ccdd2fcb90ec984f0b9b239f96 /Lib
parentde354bc7fc6db85bd5cbcad679d4dffeebd92aaa (diff)
downloadcpython-5cf1c6cb62c39403dbc051d20a272dca0a14ccfb.zip
cpython-5cf1c6cb62c39403dbc051d20a272dca0a14ccfb.tar.gz
cpython-5cf1c6cb62c39403dbc051d20a272dca0a14ccfb.tar.bz2
Skip test_tools.test_i18n when pygettext.py is missing
Diffstat (limited to 'Lib')
-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 6eaa8dd..ce6f549 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"""