Skip to content

Commit

Permalink
tests: docstrings: Fix tuple instead of function for test_docstring
Browse files Browse the repository at this point in the history
Signed-off-by: John Andersen <johnandersenpdx@gmail.com>
  • Loading branch information
pdxjohnny committed Jul 15, 2021
1 parent 2ac1fbf commit ca3e51f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ async def test_consoletest(self):
test_cases = {}
# Add a doctest testcase if there are any lines to doctest
if docstring is not None and ">>>" in docstring:
test_cases["test_docstring"] = (
mktestcase(name, import_name, module, obj),
test_cases["test_docstring"] = mktestcase(
name, import_name, module, obj
)
# Add a consoletest testcase if there are any testable rst nodes
if docstring is not None and [
Expand Down

0 comments on commit ca3e51f

Please sign in to comment.