#16910: test_bytes, test_unicode, and test_userstring now work with unittest test discovery. Patch by Zachary Ware.

This commit is contained in:
Ezio Melotti 2013-01-10 07:43:26 +02:00
parent 2688e81064
commit 0dceb560b6
5 changed files with 19 additions and 25 deletions

View file

@ -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