disambiguate `test_literal_include_lineno_match`

This commit is contained in:
jfbu 2017-02-10 17:58:11 +01:00
parent 0a4588e7b0
commit f7e5043949
2 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,7 @@ Literal Includes with Line Numbers Matching
.. literalinclude:: literal.inc
:language: python
:pyobject: Bar
:pyobject: Foo
:lineno-match:
.. literalinclude:: literal.inc

View File

@ -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