Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/doctests.py report errors, but pass #14

Closed
benoitbryon opened this issue Aug 1, 2015 · 0 comments · Fixed by #15
Closed

tests/doctests.py report errors, but pass #14

benoitbryon opened this issue Aug 1, 2015 · 0 comments · Fixed by #15

Comments

@benoitbryon
Copy link
Contributor

Check https://travis-ci.org/zeekay/decorum/jobs/73677996#L154-L193
The build is passing, but it contains some broken doctests.
The build should fail if doctests fail.

I guess that's because doctest.test_file() doesn't raise errors if there are errors.
In https://docs.python.org/3/library/doctest.html#doctest.testfile, I see there is a raise_on_error argument, which default value is False. We may set raise_on_error to True.

benoitbryon added a commit to benoitbryon/decorum that referenced this issue Aug 1, 2015
benoitbryon added a commit to benoitbryon/decorum that referenced this issue Aug 1, 2015
…nd doc. Introduced additional 'updated' option (using functools).
benoitbryon added a commit to benoitbryon/decorum that referenced this issue Aug 1, 2015
…on is enough at the moment. Can be restored later as a new feature.
benoitbryon added a commit to benoitbryon/decorum that referenced this issue Aug 1, 2015
benoitbryon added a commit to benoitbryon/decorum that referenced this issue Aug 1, 2015
benoitbryon added a commit to benoitbryon/decorum that referenced this issue Aug 1, 2015
benoitbryon added a commit to benoitbryon/decorum that referenced this issue Aug 1, 2015
@zeekay zeekay closed this as completed in #15 Aug 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant