[Twisted-Python] Re: [Twisted-commits] CVS: Twisted/twisted/test test_protocols.py,1.6,1.7

Itamar Shtull-Trauring lists at itamarst.org
Wed Sep 26 08:05:47 MDT 2001


I agree with Moshe, asserts should not be used for test code and twisted 
should run correctly in -O mode (which AFICT it does).

In order to support this, places where "assert 0" is used for failure 
should be replaced with "raise RuntimeError".






More information about the Twisted-Python mailing list