Commit 95e62639 authored by Ian Briggs's avatar Ian Briggs
Browse files

exit on first error

parent 810c4789
......@@ -90,7 +90,8 @@ def run_doctests(files):
mapped_results = dict()
for fname in files:
mapped_results[fname] = doctest.testfile(fname,
optionflags=doctest.ELLIPSIS)
optionflags=doctest.ELLIPSIS,
raise_on_error=True)
return mapped_results
def parse_arguments(argv):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment