Skip to content

Commit

Permalink
Use ELLIPSIS option flag
Browse files Browse the repository at this point in the history
Doesn't do anything right now because success/failure isn't saved
  • Loading branch information
asmeurer committed Nov 11, 2023
1 parent bbcb40e commit 29c66ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion papyri/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,10 @@ def dbg(*args):
except (TypeError, OSError):
lineno = None

doctest_runner = PapyriDocTestRunner(gen=self, obj=obj, qa=qa, config=config)
doctest_runner = PapyriDocTestRunner(gen=self, obj=obj, qa=qa,
config=config,
# TODO: Make optionflags configurable
optionflags=doctest.ELLIPSIS)
doctests = doctest.DocTestParser().get_doctest(example_code,
doctest_runner.globs,
obj.__name__, filename,
Expand Down

0 comments on commit 29c66ac

Please sign in to comment.