[Twisted-Python] Re: [Twisted-commits] r15200 - I'd like _setUp thanks

Itamar Shtull-Trauring itamar at itamarst.org
Thu Nov 24 10:53:28 MST 2005


On Thu, 2005-11-24 at 00:09 -0700, Jonathan Lange wrote:

> Modified: branches/jml/trial-deferred-logic/twisted/test/test_ssl.py
> ==============================================================================
> --- branches/jml/trial-deferred-logic/twisted/test/test_ssl.py	(original)
> +++ branches/jml/trial-deferred-logic/twisted/test/test_ssl.py	Thu Nov 24 00:09:19 2005
> @@ -173,7 +173,7 @@
>  
>  class StolenTCPTestCase(test_tcp.ProperlyCloseFilesTestCase, test_tcp.WriteDataTestCase):
>      def setUp(self):
> -        self._setUp()
> +        self._setUpStuff()

If it happened here it might happen elsewhere... maybe use __ methods?
Or some other name.





More information about the Twisted-Python mailing list