summaryrefslogtreecommitdiffstats
path: root/Lib/test/string_tests.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-01-10 05:43:26 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-01-10 05:43:26 (GMT)
commit0dceb560b6b7bfc0a2e11d3a6c27f0a7c7e2e619 (patch)
tree6b3ba08afc6eed3ffd91535a707637e39577b315 /Lib/test/string_tests.py
parent2688e810643cd0965926912862c6ab225fc2c974 (diff)
downloadcpython-0dceb560b6b7bfc0a2e11d3a6c27f0a7c7e2e619.zip
cpython-0dceb560b6b7bfc0a2e11d3a6c27f0a7c7e2e619.tar.gz
cpython-0dceb560b6b7bfc0a2e11d3a6c27f0a7c7e2e619.tar.bz2
#16910: test_bytes, test_unicode, and test_userstring now work with unittest test discovery. Patch by Zachary Ware.
Diffstat (limited to 'Lib/test/string_tests.py')
-rw-r--r--Lib/test/string_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py
index e4688d0..27e4662 100644
--- a/Lib/test/string_tests.py
+++ b/Lib/test/string_tests.py
@@ -19,7 +19,7 @@ class BadSeq2(Sequence):
def __init__(self): self.seq = ['a', 'b', 'c']
def __len__(self): return 8
-class BaseTest(unittest.TestCase):
+class BaseTest:
# These tests are for buffers of values (bytes) and not
# specific to character interpretation, used for bytes objects
# and various string implementations