diff options
Diffstat (limited to 'Lib/test/test_doctest.py')
-rw-r--r-- | Lib/test/test_doctest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py index 665272f..bbe5a13 100644 --- a/Lib/test/test_doctest.py +++ b/Lib/test/test_doctest.py @@ -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: |