Commit f752773b authored by Berker Peksag's avatar Berker Peksag

Issue #18548: Fix unittest.TestSuite() example

Initial patch by py.user.
parent fa4339bf
...@@ -352,7 +352,7 @@ call for every single test we run:: ...@@ -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:: ...@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment