Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ testing = [
"pytest-regressions",
"pytest-param-files~=0.6.0",
"sphinx-pytest",
"pygments<2.19", # TODO fix test regression with 2.19"
"pygments<2.20", # TODO fix test regression with 2.19"
]
testing-docutils = [
"pygments",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sphinx/test_sphinx_builds/test_includes.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ <h2>
</pre>
</div>
</div>
<pre class="code python literal-block"><small class="ln">0 </small><code data-lineno="0 "><span class="keyword">def</span> <span class="name function">a_func</span><span class="punctuation">(</span><span class="name">param</span><span class="punctuation">):</span><span class="whitespace">
<pre class="code python literal-block"><small class="ln">0 </small><code data-lineno="0 "><span class="keyword">def</span><span class="whitespace"> </span><span class="name function">a_func</span><span class="punctuation">(</span><span class="name">param</span><span class="punctuation">):</span><span class="whitespace">
</span></code><small class="ln">1 </small><code data-lineno="1 "><span class="whitespace"></span> <span class="name builtin">print</span><span class="punctuation">(</span><span class="name">param</span><span class="punctuation">)</span></code></pre>
<div class="highlight-default notranslate">
<div class="highlight">
Expand Down
2 changes: 2 additions & 0 deletions tests/test_sphinx/test_sphinx_builds/test_includes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
<literal_block classes="code python" source="include_code.py" xml:space="preserve">
<inline classes="keyword">
def
<inline classes="whitespace">

<inline classes="name function">
a_func
Expand All @@ -78,6 +79,7 @@
0
<inline classes="keyword">
def
<inline classes="whitespace">

<inline classes="name function">
a_func
Expand Down