summaryrefslogtreecommitdiff
path: root/tests/test_pycode.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-15 17:03:26 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-15 17:15:40 +0900
commit21a3bd41275667b2120320cc792208aec161dce8 (patch)
tree1974853bd4a433ecdf8b59197f65c07023056f4a /tests/test_pycode.py
parent5a42348fd78a874b682e0a46dcc8928610cb127e (diff)
downloadsphinx-git-21a3bd41275667b2120320cc792208aec161dce8.tar.gz
refactor: Fix flake8 violations under tests/ directory
Diffstat (limited to 'tests/test_pycode.py')
-rw-r--r--tests/test_pycode.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_pycode.py b/tests/test_pycode.py
index ac3b34c9f..3d69e53cb 100644
--- a/tests/test_pycode.py
+++ b/tests/test_pycode.py
@@ -19,6 +19,7 @@ from sphinx.pycode import ModuleAnalyzer
SPHINX_MODULE_PATH = os.path.splitext(sphinx.__file__)[0] + '.py'
+
def test_ModuleAnalyzer_get_module_source():
assert ModuleAnalyzer.get_module_source('sphinx') == (sphinx.__file__, sphinx.__loader__.get_source('sphinx'))