Opened 4 years ago
Closed 4 years ago
#32166 closed Cleanup/optimization (fixed)
Remove redundant Greatest class in test_expression_on_aggregation
Reported by: | Sicong | Owned by: | Sicong |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Function greatest now supported in db.models.functions.comparison, propose to remove class Greatest
in the unit test.
Refer to comment on Github:https://github.com/django/django/commit/f59fd15c4928caf3dfcbd50f6ab47be409a43b01#diff-7406fc41610281c9ff732230a859d1eb1406875841d9a5a81ab4c7090b37b6d0R920
Change History (4)
comment:1 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 4 years ago
Component: | Testing framework → Core (Other) |
---|---|
Triage Stage: | Unreviewed → Accepted |
Thanks. Please send PR via GitHub.
Ticket is not required for such a small cleanups, by the way.
comment:3 by , 4 years ago
Has patch: | set |
---|---|
Summary: | test_expression_on_aggregation has an additional "class Greatest" definition → Remove redundant Greatest class in test_expression_on_aggregation |
Triage Stage: | Accepted → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
I have a patch ready.