mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Doctest cleanups (GH-95436)
* GHA: Don't hide doctest output * Enable doctests in math.rst * Squash warnings in nntplib.rst doctests * Squash warning in turtle.rst doctest * Squash warnings in whatsnew/3.2.rst doctests * Treat warnings as errors in Doc/ doctests
This commit is contained in:
parent
9ec6abf6dc
commit
82814624bf
6 changed files with 29 additions and 7 deletions
|
@ -22,6 +22,11 @@ try:
|
|||
import _tkinter
|
||||
except ImportError:
|
||||
_tkinter = None
|
||||
# Treat warnings as errors, done here to prevent warnings in Sphinx code from
|
||||
# causing spurious test failures.
|
||||
import warnings
|
||||
warnings.simplefilter('error')
|
||||
del warnings
|
||||
'''
|
||||
|
||||
manpages_url = 'https://manpages.debian.org/{path}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue