mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
disambiguate `test_literal_include_lineno_match
`
This commit is contained in:
parent
0a4588e7b0
commit
f7e5043949
@ -3,7 +3,7 @@ Literal Includes with Line Numbers Matching
|
||||
|
||||
.. literalinclude:: literal.inc
|
||||
:language: python
|
||||
:pyobject: Bar
|
||||
:pyobject: Foo
|
||||
:lineno-match:
|
||||
|
||||
.. literalinclude:: literal.inc
|
||||
|
@ -197,9 +197,8 @@ def test_literal_include_lineno_match(app, status, warning):
|
||||
html = (app.outdir / 'lineno_match.html').text(encoding='utf-8')
|
||||
pyobject = (
|
||||
'<td class="linenos"><div class="linenodiv"><pre>'
|
||||
' 9\n'
|
||||
'10\n'
|
||||
'11</pre></div></td>')
|
||||
'6\n'
|
||||
'7</pre></div></td>')
|
||||
|
||||
assert pyobject in html
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user