gh-71679: Improve tests for repr() of bytes and bytearray (GH-138180)
* Merge existing tests test_repr_str and test_to_str.
* Add more tests for non-printable and non-ASCII bytes.
* Add tests for special escape sequences ('\t\n\r').
* Add tests for slashes.
* Add more tests for quotes.
* Add tests for subclasses.
* Add test for non-ASCII class name.
* Only apply @check_bytes_warnings for str() tests. S
Serhiy Storchaka committed
0dbbf61cc2550428ff99daee367364c688031e1a
Parent: 14a5ad1
Committed by GitHub <noreply@github.com>
on 8/27/2025, 10:24:28 AM