On Fri, Aug 22, 2008 at 1:25 PM, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > what if __init__.py contains code?
Thats what I usually do to solve the "problem", but for my taste it's better to write the test code of a module inside it. The code I write in "__init__.py" is related to structures of initializations, globals at package level. if __name__ == "__main__": pass # Here I test only concepts related to the entire package, not to any module. Regards -- http://mail.python.org/mailman/listinfo/python-list