mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
#16910: test_bytes, test_unicode, and test_userstring now work with unittest test discovery. Patch by Zachary Ware.
This commit is contained in:
parent
2688e81064
commit
0dceb560b6
5 changed files with 19 additions and 25 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue