On Fri, Jun 19, 2009 at 9:34 AM, Simon King<[email protected]> wrote:
>
> Dear Sage supporters,
>
> I wrote extensive doc tests for some package. But when I did
>  sage -t -long -optional __init__.py
> apparently *nothing* was tested -- nevertheless it said that all tests
> passed.
>
> It even said that all tests passed when I inserted an error on
> purpose. So, why does this happen? Is this anything special for
> __init__.py?

__init__.py and all.py weren't tested because I never put code and
examples in there, and didn't think anybody else would ever either,
and wanted to avoid wasting Sage startup time.

Obviously I was wrong.   See

http://trac.sagemath.org/sage_trac/ticket/6108

William


> Cheers,
>   Simon
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to