You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
pitrou commentedon Jan 30, 2008
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.
tiran commentedon Jan 30, 2008
Good idea but could you please use typ2test instead of a decorator? It
involves too much magic.
pitrou commentedon Jan 30, 2008
Ok, here is a patch using type2test instead :)
pitrou commentedon Jan 30, 2008
Hmm, that "import functools" at top of the file certainly can be removed...
tiran commentedon Jan 30, 2008
Thanks again! Applied in r60442