summaryrefslogtreecommitdiff
path: root/tests/test_util_nodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_util_nodes.py')
-rw-r--r--tests/test_util_nodes.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_util_nodes.py b/tests/test_util_nodes.py
index 082a46b75..6dc7f0ead 100644
--- a/tests/test_util_nodes.py
+++ b/tests/test_util_nodes.py
@@ -101,7 +101,7 @@ def test_NodeMatcher():
admonition body
""",
- nodes.title, 1
+ nodes.title, 1,
),
(
"""
@@ -144,7 +144,7 @@ def test_NodeMatcher():
nodes.line, 2,
),
- ]
+ ],
)
def test_extract_messages(rst, node_cls, count):
msg = extract_messages(_get_doctree(dedent(rst)))
@@ -228,7 +228,7 @@ def test_make_id_sequential(app):
('hello <world>', (True, 'hello', 'world')),
# explicit (title having angle brackets)
('hello <world> <sphinx>', (True, 'hello <world>', 'sphinx')),
- ]
+ ],
)
def test_split_explicit_target(title, expected):
assert expected == split_explicit_title(title)