Re: [Twisted-Python] Deprecating classes and writing tests

2016-06-16 Thread Adi Roiban
On 13 June 2016 at 22:46, Glyph wrote: > > On Jun 13, 2016, at 4:26 AM, Adi Roiban wrote: > > Hi, > > What is the best practice for deprecating a class in Twisted and writing > tests for it ... and updating existing tests. > > > We appear to have 'assertDeprecated' type methods scattered around

Re: [Twisted-Python] Deprecating classes and writing tests

2016-06-13 Thread Glyph
> On Jun 13, 2016, at 4:26 AM, Adi Roiban wrote: > > Hi, > > What is the best practice for deprecating a class in Twisted and writing > tests for it ... and updating existing tests. We appear to have 'assertDeprecated' type methods scattered around the codebase. These should be refactored i