diff options
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 |