summaryrefslogtreecommitdiff
path: root/tests/test_build_html.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-05 16:20:12 +0200
committerGeorg Brandl <georg@python.org>2010-08-05 16:20:12 +0200
commitefd0459770566d40f41e11371ae4fbb5ba1359f1 (patch)
treea5149c2b2f38555682917634ff7ffe03b33a6bff /tests/test_build_html.py
parenta1706a0d3d654e605dda77b2649327bf7066dc02 (diff)
parentac9d5434eefe66b336f7cee5599f253aaea6b70f (diff)
downloadsphinx-efd0459770566d40f41e11371ae4fbb5ba1359f1.tar.gz
merge with 1.0
Diffstat (limited to 'tests/test_build_html.py')
-rw-r--r--tests/test_build_html.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index 0c59d9cc..a685fcb6 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -39,7 +39,7 @@ http://www.python.org/logo.png
reading included file u'wrongenc.inc' seems to be wrong, try giving an \
:encoding: option\\n?
%(root)s/includes.txt:4: WARNING: download file not readable: nonexisting.png
-%(root)s/objects.txt:84: WARNING: using old C markup; please migrate to \
+%(root)s/objects.txt:\\d*: WARNING: using old C markup; please migrate to \
new-style markup \(e.g. c:function instead of cfunction\), see \
http://sphinx.pocoo.org/domains.html
"""
@@ -167,6 +167,8 @@ HTML_XPATH = {
'objects.html': [
(".//dt[@id='mod.Cls.meth1']", ''),
(".//dt[@id='errmod.Error']", ''),
+ (".//dt/tt", r'long\(parameter,\s* list\)'),
+ (".//dt/tt", 'another one'),
(".//a[@href='#mod.Cls'][@class='reference internal']", ''),
(".//dl[@class='userdesc']", ''),
(".//dt[@id='userdesc-myobj']", ''),