summaryrefslogtreecommitdiff
path: root/tests/test_domain_py.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_domain_py.py
parent8de6638697b8c785f8022e1f526b549e74d033d1 (diff)
downloadsphinx-git-c8f4a03daceef4470ddbc34d5879ffd01588a116.tar.gz
Fix COM812
Diffstat (limited to 'tests/test_domain_py.py')
-rw-r--r--tests/test_domain_py.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_domain_py.py b/tests/test_domain_py.py
index 8343c5157..66204e69e 100644
--- a/tests/test_domain_py.py
+++ b/tests/test_domain_py.py
@@ -597,7 +597,7 @@ def test_pydata_signature(app):
desc_sig_space,
[desc_sig_punctuation, '='],
desc_sig_space,
- "1")]
+ "1")],
)],
desc_content)]))
assert_node(doctree[1], addnodes.desc, desctype="data",
@@ -893,7 +893,7 @@ def test_pyattribute(app):
[desc_annotation, (desc_sig_space,
[desc_sig_punctuation, '='],
desc_sig_space,
- "''")]
+ "''")],
)],
[desc_content, ()]))
assert_node(doctree[1][1][1][0][1][2], pending_xref, **{"py:class": "Class"})
@@ -1346,7 +1346,7 @@ def test_module_index(app):
IndexEntry('sphinx.builders.html', 2, 'index', 'module-sphinx.builders.html', '', '', ''),
IndexEntry('sphinx.config', 2, 'index', 'module-sphinx.config', '', '', ''),
IndexEntry('sphinx_intl', 0, 'index', 'module-sphinx_intl', '', '', '')])],
- False
+ False,
)
@@ -1358,7 +1358,7 @@ def test_module_index_submodule(app):
assert index.generate() == (
[('s', [IndexEntry('sphinx', 1, '', '', '', '', ''),
IndexEntry('sphinx.config', 2, 'index', 'module-sphinx.config', '', '', '')])],
- False
+ False,
)
@@ -1371,7 +1371,7 @@ def test_module_index_not_collapsed(app):
assert index.generate() == (
[('d', [IndexEntry('docutils', 0, 'index', 'module-docutils', '', '', '')]),
('s', [IndexEntry('sphinx', 0, 'index', 'module-sphinx', '', '', '')])],
- True
+ True,
)
@@ -1392,7 +1392,7 @@ def test_modindex_common_prefix(app):
('d', [IndexEntry('docutils', 0, 'index', 'module-docutils', '', '', '')]),
('s', [IndexEntry('sphinx', 0, 'index', 'module-sphinx', '', '', ''),
IndexEntry('sphinx_intl', 0, 'index', 'module-sphinx_intl', '', '', '')])],
- True
+ True,
)