Doesn't adding
# not tested
work?

John

On 23 June 2010 13:39, John H Palmieri <jhpalmier...@gmail.com> wrote:
> In the file misc/sagedocs.py, there are some methods which are one-
> liners: they just open up a piece of the documentation in a web
> browser:
>
>    def tutorial(self):
>        """
>        The Sage tutorial.  To get started with Sage, start here.
>        """
>        self._open("tutorial")
>
> How can this be doctested?
>
> Is it cheating to replace it with
>
>    tutorial = lambda self: self._open("tutorial")
>
> so it doesn't count against coverage?  Any other ideas?
>
> --
> John
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to 
> sage-devel+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>

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

Reply via email to