Fix test suite for docutils 0.4.

This commit is contained in:
Georg Brandl 2009-03-16 22:37:38 +01:00
parent 9d0a9f3f41
commit df6b2001ed

View File

@ -77,7 +77,8 @@ HTML_XPATH = {
}, },
'contents.html': { 'contents.html': {
".//meta[@name='hc'][@content='hcval']": '', ".//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-l1']/a": 'Testing various markup',
".//li[@class='toctree-l2']/a": 'Admonitions', ".//li[@class='toctree-l2']/a": 'Admonitions',
".//title": 'Sphinx <Tests>', ".//title": 'Sphinx <Tests>',