Fix COM812

This commit is contained in:
Adam Turner
2023-02-17 22:11:14 +00:00
parent 8de6638697
commit c8f4a03dac
101 changed files with 405 additions and 402 deletions

View File

@@ -14,7 +14,7 @@ def test_viewcode(app, status, warning):
assert re.findall(
r"index.rst:\d+: WARNING: Object named 'func1' not found in include " +
r"file .*/spam/__init__.py'",
warnings
warnings,
)
result = (app.outdir / 'index.html').read_text(encoding='utf8')
@@ -112,7 +112,7 @@ def test_local_source_files(app, status, warning):
assert re.findall(
r"index.rst:\d+: WARNING: Object named 'func1' not found in include " +
r"file .*/not_a_package/__init__.py'",
warnings
warnings,
)
result = (app.outdir / 'index.html').read_text(encoding='utf8')