Opened 3 years ago

Last modified 4 days 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: review
Cc: Branch: branches/getDeprecationSuppression-removal-6266
(github, patch, buildbot, log)
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 (2)

comment:1 Changed 3 years ago by tom.prince

  • Description modified (diff)

(fix ticket link in description)

comment:2 Changed 4 days ago by adiroiban

  • Branch set to branches/getDeprecationSuppression-removal-6266
  • Keywords review added

I think that this API is no longer valid and the whole suppression thing is no longer valid.

I have removed the api to clean the code.

please review.


Note: See TracTickets for help on using tickets.