diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-01-20 17:06:56 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-01-20 19:43:43 +0900 |
commit | 896ab3a2f5abbc5868a9346084627361d6b56f8c (patch) | |
tree | d2e122c5eadec53cc9a5e12e78129633c5d9de99 /tests/test_build_html5.py | |
parent | d3058f462de8abc514e662270d3df62b08f953f9 (diff) | |
download | sphinx-git-896ab3a2f5abbc5868a9346084627361d6b56f8c.tar.gz |
Fix #4434: pure numbers as link targets produce warning
Diffstat (limited to 'tests/test_build_html5.py')
-rw-r--r-- | tests/test_build_html5.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_build_html5.py b/tests/test_build_html5.py index 217050ec7..f489a8b2f 100644 --- a/tests/test_build_html5.py +++ b/tests/test_build_html5.py @@ -179,6 +179,8 @@ def cached_etree_parse(): # tests for ``any`` role (".//a[@href='#with']/span", 'headings'), (".//a[@href='objects.html#func_without_body']/code/span", 'objects'), + # tests for numeric labels + (".//a[@href='#id1'][@class='reference internal']/span", 'Testing various markup'), ], 'objects.html': [ (".//dt[@id='mod.Cls.meth1']", ''), |