Skip to content

Commit

Permalink
+ test_doctest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Oct 1, 2024
1 parent 4933e56 commit 2c3d2b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_doctest/test_doctest.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ def non_Python_modules(): r"""
>>> import builtins
>>> tests = doctest.DocTestFinder().find(builtins)
>>> 830 < len(tests) < 880 # approximate number of objects with docstrings
>>> 750 < len(tests) < 800 # approximate number of objects with docstrings
True
>>> real_tests = [t for t in tests if len(t.examples) > 0]
>>> len(real_tests) # objects that actually have doctests
Expand Down

0 comments on commit 2c3d2b4

Please sign in to comment.