mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Fix: "make check" fails on 'typing_test_data.py' on Py2 environment. Closes #2020.
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user