summaryrefslogtreecommitdiff
path: root/tests/test_build_html.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-02-17 22:11:14 +0000
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-02-18 01:58:05 +0000
commitc8f4a03daceef4470ddbc34d5879ffd01588a116 (patch)
treeb67cbca3c86b239e84e00b2ca5966e3c273ca18a /tests/test_build_html.py
parent8de6638697b8c785f8022e1f526b549e74d033d1 (diff)
downloadsphinx-git-c8f4a03daceef4470ddbc34d5879ffd01588a116.tar.gz
Fix COM812
Diffstat (limited to 'tests/test_build_html.py')
-rw-r--r--tests/test_build_html.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index 5a0ca59fe..2b4143d87 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -60,7 +60,7 @@ def flat_dict(d):
[
zip(cycle([fname]), values)
for fname, values in d.items()
- ]
+ ],
)
@@ -396,7 +396,7 @@ def test_html4_deprecation(make_app, tempdir):
'otherext.html': [
(".//h1", "Generated section"),
(".//a[@href='_sources/otherext.foo.txt']", ''),
- ]
+ ],
}))
@pytest.mark.sphinx('html', tags=['testtag'],
confoverrides={'html_context.hckey_co': 'hcval_co'})
@@ -1434,7 +1434,7 @@ def test_html_sidebar(app, status, warning):
@pytest.mark.parametrize('fname,expect', flat_dict({
'index.html': [(".//em/a[@href='https://example.com/man.1']", "", True),
(".//em/a[@href='https://example.com/ls.1']", "", True),
- (".//em/a[@href='https://example.com/sphinx.']", "", True)]
+ (".//em/a[@href='https://example.com/sphinx.']", "", True)],
}))
@pytest.mark.sphinx('html', testroot='manpage_url', confoverrides={