diff --git a/Makefile b/Makefile index 19318d12c0..6f03ffc34a 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ DONT_CHECK = -i build -i dist -i sphinx/style/jquery.js \ -i sphinx/pycode/pgen2 -i sphinx/util/smartypants.py \ -i .ropeproject -i doc/_build -i tests/path.py \ -i tests/coverage.py -i env -i utils/convert.py \ + -i tests/typing_test_data.py \ -i sphinx/search/da.py \ -i sphinx/search/de.py \ -i sphinx/search/en.py \ diff --git a/tests/test_util_nodes.py b/tests/test_util_nodes.py index a14e850fef..33b8f8913f 100644 --- a/tests/test_util_nodes.py +++ b/tests/test_util_nodes.py @@ -136,7 +136,8 @@ def test_extract_messages_without_rawsource(): """ Check node.rawsource is fall-backed by using node.astext() value. - `extract_message` which is used from Sphinx i18n feature drop ``not node.rawsource`` nodes. + `extract_message` which is used from Sphinx i18n feature drop ``not node.rawsource`` + nodes. So, all nodes which want to translate must have ``rawsource`` value. However, sometimes node.rawsource is not set.