This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2008年01月30日 10:57 by pitrou, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| bytestest.patch | pitrou, 2008年01月30日 10:57 | |||
| bytestest.patch | pitrou, 2008年01月30日 11:47 | |||
| bytestest.patch | pitrou, 2008年01月30日 11:57 | updated patch without workaround for fixed bytes.fromhex bug | ||
| Messages (5) | |||
|---|---|---|---|
| msg61854 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2008年01月30日 10:57 | |
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. |
|||
| msg61859 - (view) | Author: Christian Heimes (christian.heimes) * (Python committer) | Date: 2008年01月30日 11:26 | |
Good idea but could you please use typ2test instead of a decorator? It involves too much magic. |
|||
| msg61863 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2008年01月30日 11:47 | |
Ok, here is a patch using type2test instead :) |
|||
| msg61864 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2008年01月30日 11:48 | |
Hmm, that "import functools" at top of the file certainly can be removed... |
|||
| msg61865 - (view) | Author: Christian Heimes (christian.heimes) * (Python committer) | Date: 2008年01月30日 11:58 | |
Thanks again! Applied in r60442 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:30 | admin | set | github: 46264 |
| 2008年01月30日 11:58:34 | christian.heimes | set | status: open -> closed resolution: accepted -> fixed messages: + msg61865 |
| 2008年01月30日 11:57:52 | pitrou | set | files: + bytestest.patch |
| 2008年01月30日 11:48:50 | pitrou | set | messages: + msg61864 |
| 2008年01月30日 11:47:08 | pitrou | set | files:
+ bytestest.patch messages: + msg61863 |
| 2008年01月30日 11:26:22 | christian.heimes | set | nosy:
+ christian.heimes messages: + msg61859 priority: normal type: enhancement keywords: + patch resolution: accepted |
| 2008年01月30日 10:57:03 | pitrou | create | |