Skip to content

Commit d742ddc

Browse files
Remove mypy overrides for tests/test_pycode/test_pycode.py (#13585)
1 parent ad360fd commit d742ddc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ module = [
333333
# tests/test_intl
334334
"tests.test_intl.test_intl",
335335
# tests/test_pycode
336-
"tests.test_pycode.test_pycode",
337336
"tests.test_pycode.test_pycode_ast",
338337
# tests/test_transforms
339338
"tests.test_transforms.test_transforms_post_transforms",

tests/test_pycode/test_pycode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_ModuleAnalyzer_for_file() -> None:
4141
assert analyzer.srcname == str(SPHINX_MODULE_PATH)
4242

4343

44-
def test_ModuleAnalyzer_for_module(rootdir):
44+
def test_ModuleAnalyzer_for_module(rootdir: Path) -> None:
4545
analyzer = ModuleAnalyzer.for_module('sphinx')
4646
assert analyzer.modname == 'sphinx'
4747
assert analyzer.srcname == str(SPHINX_MODULE_PATH)

0 commit comments

Comments
 (0)