#27804 closed Cleanup/optimization (fixed)
Use unittest.subTest() in Django's test suite
Reported by: | Tim Graham | Owned by: | |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
With Python 3.4+ support on master, Django's test suite may use unittest.subTest in loops. This makes debugging test failures easier.
Change History (28)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 8 years ago
Are you still working on this ticket Hitesh, or can I do some work on it?
comment:5 by , 8 years ago
Owner: | changed from | to
---|
comment:12 by , 7 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
comment:14 by , 7 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:16 by , 7 years ago
Is this still being worked on? I could continue this and for my first contribution.
comment:18 by , 7 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
comment:19 by , 7 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:20 by , 7 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
comment:21 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
There may be some additional places to update but we can update them as they are spotted rather than leaving this ticket open.
Note:
See TracTickets
for help on using tickets.
I made an example change in the second commit of this PR.