Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#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.

Change History (3)

comment:1 by Tim Graham, 9 years ago

Has patch: set

comment:2 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: newclosed

In d27e0f0:

Fixed #25190 -- Deprecated callable_obj parameter to assertRaisesMessage().

Thanks Aymeric Augustin for review.

comment:3 by Tim Graham <timograham@…>, 8 years ago

In 7510b87:

Refs #25190 -- Removed callable_obj parameter to assertRaisesMessages().

Per deprecation timeline.

Note: See TracTickets for help on using tickets.
Back to Top