diff options
author | Greg Ward <gward@python.net> | 2002-08-22 18:57:26 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2002-08-22 18:57:26 (GMT) |
commit | 13c53c64db8119a94c66a85d2a2a72dc25a4bf61 (patch) | |
tree | 740f9db4c77b61733fabd298aa6e80e4db0cbea5 /Lib | |
parent | ee413849b5015117b3f5c08e3447ee4c619b3dc1 (diff) | |
download | cpython-13c53c64db8119a94c66a85d2a2a72dc25a4bf61.zip cpython-13c53c64db8119a94c66a85d2a2a72dc25a4bf61.tar.gz cpython-13c53c64db8119a94c66a85d2a2a72dc25a4bf61.tar.bz2 |
Rename base test case class to (yawn) BaseTestCase.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_textwrap.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_textwrap.py b/Lib/test/test_textwrap.py index 3e51193..c9ab5bb 100644 --- a/Lib/test/test_textwrap.py +++ b/Lib/test/test_textwrap.py @@ -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): |