mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
#11565: Fix several typos. Patch by Piotr Kasprzyk.
This commit is contained in:
parent
6905de14fe
commit
c2077b0d9b
91 changed files with 125 additions and 125 deletions
|
@ -1292,7 +1292,7 @@ marking, as well as interline differences.
|
|||
? + ++ ^
|
||||
TestResults(failed=1, attempted=1)
|
||||
|
||||
The REPORT_ONLY_FIRST_FAILURE supresses result output after the first
|
||||
The REPORT_ONLY_FIRST_FAILURE suppresses result output after the first
|
||||
failing example:
|
||||
|
||||
>>> def f(x):
|
||||
|
@ -1322,7 +1322,7 @@ failing example:
|
|||
2
|
||||
TestResults(failed=3, attempted=5)
|
||||
|
||||
However, output from `report_start` is not supressed:
|
||||
However, output from `report_start` is not suppressed:
|
||||
|
||||
>>> doctest.DocTestRunner(verbose=True, optionflags=flags).run(test)
|
||||
... # doctest: +ELLIPSIS
|
||||
|
@ -2334,7 +2334,7 @@ optional `module_relative` parameter:
|
|||
TestResults(failed=0, attempted=2)
|
||||
>>> doctest.master = None # Reset master.
|
||||
|
||||
Verbosity can be increased with the optional `verbose` paremter:
|
||||
Verbosity can be increased with the optional `verbose` parameter:
|
||||
|
||||
>>> doctest.testfile('test_doctest.txt', globs=globs, verbose=True)
|
||||
Trying:
|
||||
|
@ -2371,7 +2371,7 @@ parameter:
|
|||
TestResults(failed=1, attempted=2)
|
||||
>>> doctest.master = None # Reset master.
|
||||
|
||||
The summary report may be supressed with the optional `report`
|
||||
The summary report may be suppressed with the optional `report`
|
||||
parameter:
|
||||
|
||||
>>> doctest.testfile('test_doctest.txt', report=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue