COMMITS
/ Lib/doctest.py May 6, 2026
H
gh-144384: Lazily import `_colorize` (#149318)
Hugo van Kemenade committed
May 4, 2026
H
gh-142389: Add backticks to stdlib argparse help to display in colour (#149384)
Hugo van Kemenade committed
December 6, 2025
S
gh-69113: Fix doctest to report line numbers for __test__ strings (#141624)
Sanyam Khurana committed
November 15, 2025
July 25, 2025
D
July 15, 2025
S
Fix the doctest.testmod() docstring (GH-136675)
Serhiy Storchaka committed
May 31, 2025
S
gh-108885: Use subtests for doctest examples run by unittest (GH-134890)
Serhiy Storchaka committed
May 29, 2025
S
gh-134857: Improve error report for doctests run with unittest (GH-134858)
Serhiy Storchaka committed
May 5, 2025
H
gh-130645: Add color to stdlib argparse CLIs (gh-133380)
Hugo van Kemenade committed
January 20, 2025
H
gh-128595: Default to stdout isatty for colour detection instead of stderr (#128498)
Hugo van Kemenade committed
September 24, 2024
T
gh-120254: Add a `commands` argument to `pdb.set_trace` (#120255)
Tian Gao committed
May 22, 2024
G
Remove almost all unpaired backticks in docstrings (#119231)
Geoffrey Thomas committed
May 1, 2024
H
gh-117225: Move colorize functionality to own internal module (#118283)
Hugo van Kemenade committed
April 24, 2024
P
gh-112730: Make the test suite resilient to color-activation environment variables (#117672)
Pablo Galindo Salgado committed
H
gh-117225: Add color to doctest output (#117583)
Hugo van Kemenade committed
April 10, 2024
N
gh-117692: Fix `AttributeError` in `DocTestFinder` on wrapped `builtin_or_method` (#117699)
Nikita Sobolev committed
March 28, 2024
M
gh-117294: Report DocTestCase as skipped if all examples in the doctest are skipped (GH-117297)
Malcolm Smith committed
March 27, 2024
H
gh-117225: doctest: only print "and X failed" when non-zero, don't pluralise "1 items" (#117228)
Hugo van Kemenade committed
February 19, 2024
S
gh-115341: Fix loading unit tests with doctests in -OO mode (GH-115342)
Serhiy Storchaka committed
February 14, 2024
B
gh-115392: Fix doctest reporting incorrect line numbers for decorated functions (#115440)
Brian Schubert committed
December 15, 2023
S
gh-61648: Detect line numbers of properties in doctests (GH-113161)
Serhiy Storchaka committed
November 25, 2023
I
gh-94722: fix DocTest.__eq__ for case of no line number on one side (#112385)
Irit Katriel committed
November 4, 2023
N
gh-111159: Fix `SyntaxError` doctests for non-builtin exception classes (#111541)
Nikita Sobolev committed
October 21, 2023
N
gh-111159: Fix `doctest` output comparison for exceptions with notes (#111160)
Nikita Sobolev committed
September 2, 2023
V
gh-108794: doctest counts skipped tests (#108795)
Victor Stinner committed
August 7, 2023
G
gh-107715: Escape class name in regular expression (GH-107716)
Gertjan van Zwieten committed
January 13, 2023
S
gh-86682: Adds sys._getframemodulename as an alternative to using _getframe (GH-99520)
Steve Dower committed
December 30, 2022
N
gh-99433: Fix `doctest` failure on `types.MethodWrapperType` (#99434)
Nikita Sobolev committed
May 19, 2022
N
bpo-28249: fix `lineno` location for empty `DocTest` instances (GH-30498)
Nikita Sobolev committed
March 22, 2022
D
bpo-2604: Make doctest.DocTestCase reset globs in teardown (GH-31932)
Daniël van Noord committed
January 8, 2022
N
bpo-46306: simplify `CodeType` attribute access in `doctest.py` (GH-30481)
Nikita Sobolev committed
October 28, 2021
A
bpo-44904: Fix classmethod property bug in doctest module (GH-28838)
Alex Waygood committed
May 5, 2021
A
bpo-35753: Fix crash in doctest with unwrap-able functions (#22981)
Alfred Perlstein committed
March 2, 2021
P
bpo-43049: Use io.IncrementalNewlineDecoder for doctest newline conversion (GH-24359)
Peter Donis committed
November 7, 2020
March 26, 2020
December 13, 2019
X
bpo-36406: Handle namespace packages in doctest (GH-12520)
Xtreak committed
September 1, 2019
S
bpo-15999: Clean up of handling boolean arguments. (GH-15610)
Serhiy Storchaka committed
May 6, 2019
S
bpo-36793: Remove unneeded __str__ definitions. (GH-13081)
Serhiy Storchaka committed
January 9, 2019
S
bpo-24746: Avoid stripping trailing whitespace in doctest fancy diff (#10639)
Sanyam Khurana committed
December 4, 2017
S
bpo-25054, bpo-1647489: Added support of splitting on zerowidth patterns. (#4471)
Serhiy Storchaka committed
May 4, 2017
S
bpo-30166: Import command-line parsing modules only when needed. (#1293)
Serhiy Storchaka committed
September 8, 2016
R
#27364: fix "incorrect" uses of escape character in the stdlib.
R David Murray committed
March 29, 2016
V
doctest now supports packages
Victor Stinner committed
March 25, 2016
V
doctest: fix _module_relative_path() error message
Victor Stinner committed
November 14, 2015
M
Merge typo and grammar fixes from 3.4 into 3.5
Martin Panter committed
M
Fix a few grammar problems in the documentation and comments
Martin Panter committed
April 13, 2015
B
Issue #23731: Implement PEP 488.
Brett Cannon committed
January 26, 2015
S
Issue #21408: The default __ne__() now returns NotImplemented if __eq__()
Serhiy Storchaka committed
S
Issue #21408: The default __ne__() now returns NotImplemented if __eq__()
Serhiy Storchaka committed