Opened 6 years ago
Closed 6 years ago
#29931 closed Cleanup/optimization (fixed)
Remove untested ValueError catching in naturalday template filter
Description (last modified by ) ¶
This branch is untested:
except ValueError: # Date arguments out of range
I don't see how that branch could happen if value
is a date.
Change History (4)
comment:1 by , 6 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 6 years ago
Has patch: | set |
---|
comment:3 by , 6 years ago
Description: | modified (diff) |
---|---|
Patch needs improvement: | set |
Summary: | Improve `contrib.humanize.templatetags.humanize.naturalday` and add more test for it → Remove untested ValueError catching in naturalday template filter |
Triage Stage: | Unreviewed → Accepted |
comment:4 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In f62cf22: