[Twisted-Python] Thoughts about testing
Ralf Schmitt
ralf at brainbot.com
Thu Oct 27 03:10:50 MDT 2005
glyph at divmod.com wrote:
>
>
> On Wed, 26 Oct 2005 21:11:06 -0400, James Y Knight <foom at fuhm.net> wrote:
>
>> On Oct 26, 2005, at 8:38 PM, Jonathan Lange wrote:
>
>
>> Possibly "fixable" in trial with a horrible hack of looking up source
>> line numbers of classes/methods and sorting according to that, but
>> that seems rather...horrible.
>
>
> Why? It's just one attribute - no magical side effects or anything.
> It's documented, and this only affects sort order. Seems like a pretty
> reasonable change to me.
>
The magical side effects happen if you choose to use decorators on the
test functions. Suddenly the test functions 'use' the decorator's source
line numbers.
- Ralf
More information about the Twisted-Python
mailing list