-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
bpo-34962: make doctest in Doc now passes, and is enforced in CI #9806
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
0f4520d
wip: fix doctest
matrixise 36ed172
fix doctest for library/re.rst
matrixise cc14274
use .. doctest:: instead of .. testcode:: because we need to keep the…
matrixise 01dea04
Add testsetup
matrixise 068485a
pass from 258 to 240
matrixise cd14acb
add SomeClass in testsetup -> 235 tests failed
matrixise 9407247
update
matrixise 249ff3d
update
matrixise c9d6175
add new target in travis
matrixise 1fa9509
fix the whitespace
matrixise 305ee74
try to use 3.7
matrixise 1517a37
disable the warnings into errors
matrixise 7c03c41
use a block code instead of doctest
matrixise 2e1db29
Disable some builds
matrixise 21b3db0
Fix with ellipsis
matrixise 526f366
Disable the quiet flag of sphinx
matrixise 5764cdb
Merge the tests and execute doctests just after the build
matrixise e500b59
Execute the doctests with the tests
matrixise 1312c42
reset
matrixise a12dbe7
execute doctest
matrixise 0ed453b
Execute doctest just after the tests
matrixise be41d1c
pin the version of sphinx
matrixise f8238a4
Reuse >>> for the doctests
matrixise e5f6478
Pass the tests if tkinter is not installed
matrixise 9d14da2
Rename duplicated ref to a new ref
matrixise bece51b
Use the last version of sphinx
matrixise 8263dee
Add News entry
matrixise e47a624
fix typo: seperately -> separately
matrixise 40f850c
fix ': ::' to '::'
matrixise 9505f06
fix the indentation of a function
matrixise 7d76ead
reindent with the previous indentation, tab 4
matrixise 93734d8
supress a useless diff
matrixise 0511ae1
supress a useless diff
matrixise File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _examples: | ||
.. _distutils_examples: | ||
|
||
******** | ||
Examples | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.