On Tuesday, January 24, 2012 12:07:16 AM UTC-8, Simon King wrote:
>
> Hi! 
>
> On 24 Jan., 08:22, tvn <nguyent...@gmail.com> wrote: 
> > I have this file 'myclass.py' that contains the following 
> > 
> > class MyClass(object): 
> >     @staticmethod 
> >     def myt(l): 
> >         """ 
> >         sage: from myclass import MyClass 
> > ... 
> > when run sage -t myclass.py  ,  it gives errors about no module named 
> > myclass.   (details below) 
>
> It is known that the doctests won't find modules that are only present 
> in the "current" directory. 
>

[snip] 

I think there is a bug in the current doctesting framework for non-Sage 
library files.  See <http://trac.sagemath.org/sage_trac/ticket/12069> for a 
fix.

--
John

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to