[issue1972] improve bytes and bytearray tests

Antoine Pitrou report at bugs.python.org
Wed Jan 30 11:58:04 CET 2008


New submission from Antoine Pitrou:

Currently some tests in test_bytes.py only test bytearray, others only
test bytes. Here is a patch to try to make test coverage more extensive.
You'll notice there is a small hack in test_fromhex, that's because
bytes.fromhex is buggy, I'll open a separate bug entry for that.

----------
components: Tests
files: bytestest.patch
messages: 61854
nosy: pitrou
severity: normal
status: open
title: improve bytes and bytearray tests
versions: Python 3.0
Added file: http://bugs.python.org/file9328/bytestest.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1972>
__________________________________


More information about the Python-bugs-list mailing list