[Twisted-Python] Re: [Twisted-commits] r15200 - I'd like _setUp thanks
Jonathan Lange
jml at mumak.net
Thu Nov 24 17:44:42 EST 2005
On 25/11/05, Itamar Shtull-Trauring <itamar at itamarst.org> wrote:
> 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.
>
I'd like to use a single underscore because I expect these methods to
be overridden (that can't be a real word). So, I'd much prefer to
rename. Suggestions welcome.
cheers,
jml
More information about the Twisted-Python
mailing list