diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-04-06 06:37:17 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-04-06 06:37:17 (GMT) |
commit | 86e0d5761177ef3fe7b50f7e9f235c70960d7834 (patch) | |
tree | 5514408463df9251de357a2383ed3b753bde59c1 /Python/errors.c | |
parent | bc62af1bbe118aa678cb6fa4ecad40f7250b56de (diff) | |
download | cpython-86e0d5761177ef3fe7b50f7e9f235c70960d7834.zip cpython-86e0d5761177ef3fe7b50f7e9f235c70960d7834.tar.gz cpython-86e0d5761177ef3fe7b50f7e9f235c70960d7834.tar.bz2 |
Issue #26257: Eliminate buffer_tests.py and fix ByteArrayAsStringTest
ByteArrayAsStringTest.fixtype() was converting test data to bytes, not byte-
array, therefore many of the test cases inherited in this class were not
actually being run on the bytearray type.
The tests in buffer_tests.py were redundant with methods in string_tests
.MixinStrUnicodeUserStringTest and string_tests.CommonTest. Moved some tests
into a new base class string_tests.NonStringModuleTest, and run them for
bytearray.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions