[Twisted-Python] twisted.trial.assertions is now deprecated.

Tommi Virtanen tv at twistedmatrix.com
Mon Sep 26 06:24:09 MDT 2005


Jonathan Lange wrote:
> As part of the on-going maintenance of Trial, I have deprecated the
> assertions module.  All people writing unit tests are advised to use
> the assertion methods on unittest.TestCase.

It's not that long ago that they were added, and the last person
rewriting trial wanted to deprecate self.failUnless etc. Nice
cooperation, there ;)

Happily, I never had time to move away from self.failUnless at all.




More information about the Twisted-Python mailing list