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):
self.check(result, expect)
-class WrapTestCase(WrapperTestCase):
+class WrapTestCase(BaseTestCase):
def setUp(self):
self.wrapper = TextWrapper(width=45, fix_sentence_endings=True)
-class IndentTestCases(WrapperTestCase):
+class IndentTestCases(BaseTestCase):
# called before each test method
def setUp(self):