mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #23943: Fix typos. Patch by Piotr Kasprzyk.
This commit is contained in:
commit
dfa4e045a3
19 changed files with 20 additions and 20 deletions
|
|
@ -2174,7 +2174,7 @@ def test_DocTestSuite():
|
|||
...
|
||||
AttributeError: module 'test.test_doctest' 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):
|
||||
|
|
@ -2320,7 +2320,7 @@ def test_DocFileSuite():
|
|||
...
|
||||
AttributeError: module 'test.test_doctest' 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