Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 7327e4b

Browse files
author
Anselm Kruis
committed
Stackless issue #145: fix test_doctest
Stackless contributes two tests to builtins: TaskletExit and TaskletExit.__init__. Therefore we have to adjust the limit. Add missing changelog entries (#143, #144).
1 parent 43e8d8e commit 7327e4b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Lib/test/test_doctest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ def non_Python_modules(): r"""
659659
660660
>>> import builtins
661661
>>> tests = doctest.DocTestFinder().find(builtins)
662-
>>> 790 < len(tests) < 810 # approximate number of objects with docstrings
662+
>>> 790 < len(tests) < 812 # approximate number of objects with docstrings
663663
True
664664
>>> real_tests = [t for t in tests if len(t.examples) > 0]
665665
>>> len(real_tests) # objects that actually have doctests

Stackless/changelog.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ What's New in Stackless 3.X.X?
99

1010
*Release date: 20XX-XX-XX*
1111

12+
- https://github.com/stackless-dev/stackless/issues/145
13+
Fix the upper bound of tests in test/test_doctest.py.
14+
15+
- https://github.com/stackless-dev/stackless/issues/144
16+
Replace copied code in pricklepit.c dictview_new.
17+
18+
- https://github.com/stackless-dev/stackless/issues/143
19+
Fix non-portable usage of bit fields.
20+
1221
- https://github.com/stackless-dev/stackless/issues/141
1322
Call Py_DECREF(frame) with the right recursion_depth.
1423

0 commit comments

Comments
 (0)