Opened 3 years ago

Last modified 3 years ago

#6266 enhancement new

Test, document and make public twisted.python.test.test_util._getDeprecationSuppression.

Reported by: tom.prince Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description (last modified by tom.prince)

According to #5645, when deprecating something, the tests of that functionality need to remain, but not emit deprecation warnings.

In #5544, a private function _getDeprecationSuppression was added to generate an approriate narrow suppression (to pass to .suppress of a test case or method).

This function should be made public.

Change History (1)

comment:1 Changed 3 years ago by tom.prince

  • Description modified (diff)

(fix ticket link in description)

Note: See TracTickets for help on using tickets.