diff options
author | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2023-02-17 22:11:14 +0000 |
---|---|---|
committer | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2023-02-18 01:58:05 +0000 |
commit | c8f4a03daceef4470ddbc34d5879ffd01588a116 (patch) | |
tree | b67cbca3c86b239e84e00b2ca5966e3c273ca18a /sphinx/ext/doctest.py | |
parent | 8de6638697b8c785f8022e1f526b549e74d033d1 (diff) | |
download | sphinx-git-c8f4a03daceef4470ddbc34d5879ffd01588a116.tar.gz |
Fix COM812
Diffstat (limited to 'sphinx/ext/doctest.py')
-rw-r--r-- | sphinx/ext/doctest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/ext/doctest.py b/sphinx/ext/doctest.py index e6981848a..7eadce804 100644 --- a/sphinx/ext/doctest.py +++ b/sphinx/ext/doctest.py @@ -141,13 +141,13 @@ class TestDirective(SphinxDirective): class TestsetupDirective(TestDirective): option_spec: OptionSpec = { - 'skipif': directives.unchanged_required + 'skipif': directives.unchanged_required, } class TestcleanupDirective(TestDirective): option_spec: OptionSpec = { - 'skipif': directives.unchanged_required + 'skipif': directives.unchanged_required, } @@ -233,7 +233,7 @@ class TestCode: class SphinxDocTestRunner(doctest.DocTestRunner): - def summarize(self, out: Callable, verbose: bool = None # type: ignore + def summarize(self, out: Callable, verbose: bool = None, # type: ignore ) -> tuple[int, int]: string_io = StringIO() old_stdout = sys.stdout |