mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
Issue #18548: Fix unittest.TestSuite() example
Initial patch by py.user.
This commit is contained in:
parent
0b588869ee
commit
ab75e02f5c
1 changed files with 2 additions and 2 deletions
|
|
@ -352,7 +352,7 @@ call for every single test we run::
|
|||
|
||||
import unittest
|
||||
|
||||
class SimpleWidgetTestCase(unittest.TestCase):
|
||||
class WidgetTestCase(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.widget = Widget('The widget')
|
||||
|
||||
|
|
@ -379,7 +379,7 @@ after the test method has been run::
|
|||
|
||||
import unittest
|
||||
|
||||
class SimpleWidgetTestCase(unittest.TestCase):
|
||||
class WidgetTestCase(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.widget = Widget('The widget')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue