summaryrefslogtreecommitdiff
path: root/tests/test_pycode.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-12 02:05:13 +0900
committerGitHub <noreply@github.com>2020-11-12 02:05:13 +0900
commit68cc0f7e94f360a2c62ebcb761f8096e04ebf07f (patch)
tree37b1da3654ece6803efd0a2ed356fbbff3fc276a /tests/test_pycode.py
parent229e11c488fc1fbd15b0a209782aa94dc6abdf58 (diff)
parent0949735210abaa05b6448e531984f159403053f4 (diff)
downloadsphinx-git-68cc0f7e94f360a2c62ebcb761f8096e04ebf07f.tar.gz
Merge pull request #8408 from francoisfreitag/isort
Sort imports with isort
Diffstat (limited to 'tests/test_pycode.py')
-rw-r--r--tests/test_pycode.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_pycode.py b/tests/test_pycode.py
index 20f01f17d..ac3b34c9f 100644
--- a/tests/test_pycode.py
+++ b/tests/test_pycode.py
@@ -10,11 +10,12 @@
import os
import sys
+
import pytest
import sphinx
-from sphinx.pycode import ModuleAnalyzer
from sphinx.errors import PycodeError
+from sphinx.pycode import ModuleAnalyzer
SPHINX_MODULE_PATH = os.path.splitext(sphinx.__file__)[0] + '.py'