[py-dev] Import errors

holger krekel hpk at trillke.net
Fri Apr 22 10:15:50 CEST 2005


Hi Ian, 

On Thu, Apr 21, 2005 at 22:38 -0500, Ian Bicking wrote:
> Well, I'm doing a big renaming, and the errors from bad imports are a 
> bit confusing.  It seems whenever there's an import error, the module 
> with the error still gets loaded, but is empty.  This is a bit confusing 
> to debug.  Well, this isn't true in the test_* module, but in the 
> modules they import.

are you using a recent version of the py lib?  

py.test at least shouldn't trigger any special imports 
anymore but uses the underlying import mechanism.  

Could you post one of the offending tracebacks? 

thanks,

    holger



More information about the Pytest-dev mailing list