summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-08-06 00:00:03 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-08-06 00:00:03 (GMT)
commitab75e02f5c8f4035293c3ee99d9e99e3efd90928 (patch)
tree3daefe3d3b7e8e2e2f356c9b6e798823a30fffeb /Doc/library
parent0b588869eefc485532660862520bce885cf12346 (diff)
downloadcpython-ab75e02f5c8f4035293c3ee99d9e99e3efd90928.zip
cpython-ab75e02f5c8f4035293c3ee99d9e99e3efd90928.tar.gz
cpython-ab75e02f5c8f4035293c3ee99d9e99e3efd90928.tar.bz2
Issue #18548: Fix unittest.TestSuite() example
Initial patch by py.user.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/unittest.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 0fc02c4..e5646ae 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -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')