Issue #18548: Fix unittest.TestSuite() example

Initial patch by py.user.
This commit is contained in:
Berker Peksag 2016-08-06 03:00:03 +03:00
parent 0b588869ee
commit ab75e02f5c
1 changed files with 2 additions and 2 deletions

View File

@ -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')