summaryrefslogtreecommitdiff
path: root/tests/test_pycode.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-21 01:01:36 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-21 01:01:36 +0900
commit3a4ae2092a6f236e2d71fdedb4b66f594e30d4e7 (patch)
treeafa4f774e0f8660d5ce247f01cace9deaa848d58 /tests/test_pycode.py
parentf3a6004f822b05e352372a77f449332ad230d21e (diff)
parent18b2707b2ac621f23f8ee6a7ca19bf1590be7826 (diff)
downloadsphinx-git-3a4ae2092a6f236e2d71fdedb4b66f594e30d4e7.tar.gz
Merge branch '3.x'
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'))