On Wed, 2011-04-27 at 22:29 +0200, Baptiste Lepilleur wrote:
> Hi,
> 
> 
> I'm running into the following odd output when running some tests:
> 
> 
> ---
> py.test --nomagic mphelpertest.py
> ================================================= test session starts
> =================================================
> platform win32 -- Python 3.2.0 -- pytest-1.3.4
> test path 1: mphelpertest.py
> 
> 
> mphelpertest.py ...
> 
> 
> ============================================== 3 passed in 1.16
> seconds ===============================================
> Traceback (most recent call last):
> ---
> 
> 
> Notes that the traceback is empty. Any idea of what could explain
> that? 
> 
> 
> The test is installing and (hopefully) uninstalling some logging
> handler and use the multiprocessing module, so it may be possible that
> some exceptions are thrown on shutdown when logging handler are closed
> (but I have not yet managed to reproduce the issue outside py.test). 
> 

can you retry with a more recent py.test
afair this problem has been fixed after 1.3.4

also i would suggest to follow the py.test convention and name the test
files test_{foo} instead {foo}test

-- Ronny

> 
> Sources are available here:
> http://gaiacrtn.free.fr/temp/pytestmp/
> 
> 
> Baptiste.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to