summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-09-08 12:07:11 +0200
committerGeorg Brandl <georg@python.org>2009-09-08 12:07:11 +0200
commitefa4678cfda991cab662023a90ee2040d81b5963 (patch)
tree9e2f78c93bd551b15c01627c2b7b63d24435d8fb /tests
parentec5e5de95b20614a712f5a29810c962f8c81db26 (diff)
downloadsphinx-git-efa4678cfda991cab662023a90ee2040d81b5963.tar.gz
Add some XXX comments to places where work is needed.
Diffstat (limited to 'tests')
-rw-r--r--tests/root/conf.py1
-rw-r--r--tests/test_coverage.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/root/conf.py b/tests/root/conf.py
index a82602fff..d268ae3a5 100644
--- a/tests/root/conf.py
+++ b/tests/root/conf.py
@@ -50,6 +50,7 @@ latex_additional_files = ['svgimg.svg']
value_from_conf_py = 84
coverage_c_path = ['special/*.h']
+# XXX cfunction?
coverage_c_regexes = {'cfunction': r'^PyAPI_FUNC\(.*\)\s+([^_][\w_]+)'}
autosummary_generate = ['autosummary']
diff --git a/tests/test_coverage.py b/tests/test_coverage.py
index 369788a19..bc59a8152 100644
--- a/tests/test_coverage.py
+++ b/tests/test_coverage.py
@@ -36,6 +36,7 @@ def test_build(app):
undoc_py, undoc_c = pickle.loads((app.outdir / 'undoc.pickle').text())
assert len(undoc_c) == 1
# the key is the full path to the header file, which isn't testable
+ # XXX this should fail right now
assert undoc_c.values()[0] == [('cfunction', 'Py_SphinxTest')]
assert 'test_autodoc' in undoc_py