Commit 13c53c64 authored by Greg Ward's avatar Greg Ward

Rename base test case class to (yawn) BaseTestCase.

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