Issue #18548: Fix unittest.TestSuite() example
Initial patch by py.user.
This commit is contained in:
parent
0b588869ee
commit
ab75e02f5c
|
@ -352,7 +352,7 @@ call for every single test we run::
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
class SimpleWidgetTestCase(unittest.TestCase):
|
class WidgetTestCase(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.widget = Widget('The widget')
|
self.widget = Widget('The widget')
|
||||||
|
|
||||||
|
@ -379,7 +379,7 @@ after the test method has been run::
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
class SimpleWidgetTestCase(unittest.TestCase):
|
class WidgetTestCase(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.widget = Widget('The widget')
|
self.widget = Widget('The widget')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue