#25190 closed Cleanup/optimization (fixed)
Deprecate callable_obj parameter to assertRaisesMessage
Reported by: | Tim Graham | Owned by: | Tim Graham |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
It was deprecated in Python in https://hg.python.org/cpython/rev/ac13f0390866 and those warnings were fixed in c2bc1cefdcbbf074408f4a4cace88b315cf9d652. Then I realized callable_obj
was a documented parameter so I added backwards compatibility in e89c3a46035e9fe17c373a6c9cd63b9fd631d596 and updated the docs in a0175724b086127a4e13612042961d3ba88d6bd9.
Note:
See TracTickets
for help on using tickets.
PR