Rename base test case class to (yawn) BaseTestCase.
authorGreg Ward <gward@python.net>
Thu, 22 Aug 2002 18:57:26 +0000 (18:57 +0000)
committerGreg Ward <gward@python.net>
Thu, 22 Aug 2002 18:57:26 +0000 (18:57 +0000)
Lib/test/test_textwrap.py

index 3e5119334e00327b84bbecc9ffa4236c268eab31..c9ab5bb76d1e82801d6c383d4da459aa83651640 100644 (file)
@@ -14,7 +14,7 @@ from test import test_support
 from textwrap import TextWrapper, wrap, fill
 
 
-class WrapperTestCase(unittest.TestCase):
+class BaseTestCase(unittest.TestCase):
     '''Parent class with utility methods for textwrap tests.'''
 
     def show(self, textin):
@@ -38,7 +38,7 @@ class WrapperTestCase(unittest.TestCase):
         self.check(result, expect)
 
 
-class WrapTestCase(WrapperTestCase):
+class WrapTestCase(BaseTestCase):
 
     def setUp(self):
         self.wrapper = TextWrapper(width=45, fix_sentence_endings=True)
@@ -163,7 +163,7 @@ How *do* you spell that odd word, anyways?
 
 
 
-class IndentTestCases(WrapperTestCase):
+class IndentTestCases(BaseTestCase):
 
     # called before each test method
     def setUp(self):