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.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/test_util_nodes.py b/tests/test_util_nodes.py
index 8fe9ee773..cb2ae70a8 100644
--- a/tests/test_util_nodes.py
+++ b/tests/test_util_nodes.py
@@ -4,22 +4,20 @@
Tests uti.nodes functions.
- :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
+ :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
from textwrap import dedent
from typing import Any
import pytest
-from docutils import frontend
-from docutils import nodes
+from docutils import frontend, nodes
from docutils.parsers import rst
from docutils.utils import new_document
from sphinx.transforms import ApplySourceWorkaround
-from sphinx.util.nodes import (
- NodeMatcher, extract_messages, clean_astext, make_id, split_explicit_title
-)
+from sphinx.util.nodes import (NodeMatcher, clean_astext, extract_messages, make_id,
+ split_explicit_title)
def _transform(doctree):