summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-03-16 22:37:38 +0100
committerGeorg Brandl <georg@python.org>2009-03-16 22:37:38 +0100
commitd78a1016ee60711efcad7bee48143f7ff0c590a6 (patch)
treec540c1c36c5f94cb092a47984e0013f835458df6
parent74e4b9a5bca15e42f553db82aa25aa38bdd08a81 (diff)
downloadsphinx-d78a1016ee60711efcad7bee48143f7ff0c590a6.tar.gz
Fix test suite for docutils 0.4.
-rw-r--r--tests/test_build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_build.py b/tests/test_build.py
index 3027cd8a..888063a9 100644
--- a/tests/test_build.py
+++ b/tests/test_build.py
@@ -77,7 +77,8 @@ HTML_XPATH = {
},
'contents.html': {
".//meta[@name='hc'][@content='hcval']": '',
- ".//td[@class='label']": '[Ref1]',
+ #".//td[@class='label']": '[Ref1]', # docutils 0.5 only
+ ".//td[@class='label']": '',
".//li[@class='toctree-l1']/a": 'Testing various markup',
".//li[@class='toctree-l2']/a": 'Admonitions',
".//title": 'Sphinx <Tests>',