refactor: Fix flake8 violations under tests/ directory

This commit is contained in:
Takeshi KOMIYA
2020-11-15 17:03:26 +09:00
parent 5a42348fd7
commit 21a3bd4127
15 changed files with 43 additions and 40 deletions

View File

@@ -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'))