mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Issue #23943: Fix typos. Patch by Piotr Kasprzyk.
This commit is contained in:
parent
52a3b74900
commit
4882cacab6
19 changed files with 22 additions and 22 deletions
|
|
@ -2170,7 +2170,7 @@ def test_DocTestSuite():
|
|||
...
|
||||
AttributeError: 'module' object has no attribute 'sillySetup'
|
||||
|
||||
The setUp and tearDown funtions are passed test objects. Here
|
||||
The setUp and tearDown functions are passed test objects. Here
|
||||
we'll use the setUp function to supply the missing variable y:
|
||||
|
||||
>>> def setUp(test):
|
||||
|
|
@ -2316,7 +2316,7 @@ def test_DocFileSuite():
|
|||
...
|
||||
AttributeError: 'module' object has no attribute 'sillySetup'
|
||||
|
||||
The setUp and tearDown funtions are passed test objects.
|
||||
The setUp and tearDown functions are passed test objects.
|
||||
Here, we'll use a setUp function to set the favorite color in
|
||||
test_doctest.txt:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue