[TIP] [py-dev] towards 1.0 / code URLS using py.test?

Jean-Paul Calderone exarkun at divmod.com
Tue Jan 29 06:09:07 PST 2008


On Tue, 29 Jan 2008 07:02:28 +0100, Ralf Schmitt <schmir at gmail.com> wrote:
>On Jan 28, 2008 4:09 PM, Jean-Paul Calderone <exarkun at divmod.com> wrote:
>
>> [snip]
>>
>> Is it intentional that this integration busy-loops, guaranteeing 100% CPU
>> usage for the entire test-run?
>>
>
>Why do you think so? Apparently this isn't true on my machine:
>
> [snip]
>
>2008-01-29 07:01:39+0100 [-] Main loop terminated.
>./py.test.twisted test_some.py  0.22s user 0.06s system 1% cpu 25.278 total
>

You're right, of course.  I misread the way Deferreds were handled.  Sorry
for the noise. :)

Jean-Paul



More information about the testing-in-python mailing list