mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-13 17:02:12 -05:00
Fix broken test
This commit is contained in:
1 parent
1cfde018d2
commit
6911611f8d
1 file changed
+1
-3
@@ -1012,10 +1012,8 @@ def test_numfig_with_singlehtml(app, status, warning):
|
||||
}
|
||||
|
||||
for fname, paths in iteritems(expects):
|
||||
parser = NslessParser()
|
||||
parser.entity.update(html_entities.entitydefs)
|
||||
with (app.outdir / fname).open('rb') as fp:
|
||||
etree = ET.parse(fp, parser)
|
||||
etree = HTML_PARSER.parse(fp)
|
||||
|
||||
for xpath, check, be_found in paths:
|
||||
yield check_xpath, etree, fname, xpath, check, be_found
|
||||
|
||||
Reference in new issue
Block a user