[py-dev] py.test: setup/teardown bugs

Marian Schubert marian.schubert at gmail.com
Fri Feb 16 11:52:09 CET 2007


patch is in attachment. Don't know if it's best way how to solve this
problem but it works and doesnt break any py.test tests :)

cu,
Maio

On 2/15/07, Marian Schubert <marian.schubert at gmail.com> wrote:
> Hello,
>
> there are 2 files attachment. Both should be easly used to reproduce
> bugs i found using py.test (which is great tool and i thank everyone
> who created/contributed to it).
>
> test_fail.py - both tests should fail because teardown_method is failing
> test_output.py - there is output of teardown method of previous test
> in current test's recorded output which i believe shouldn't be there
>
>
> cu,
> MS
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: teardown.patch
Type: text/x-patch
Size: 1259 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20070216/92bf1bf5/attachment.bin>


More information about the Pytest-dev mailing list