On Monday, February 13, 2012 11:16:54 AM UTC-8, William wrote:
>
> On Mon, Feb 13, 2012 at 11:10 AM, Michael Orlitzky wrote:
> > On 02/13/12 13:51, Ryan wrote:
> >> #this test case will pass
> >> def TestCase1():
> >>     r'''
> >>         Examples::
> >>
> >>             sage: ascii()
> >>             'abcdefghijklmnopqrstuvwxyz'
> >>
> >>     '''
> >>     pass
> >
> >
> > Nesting single quotes like this is bound to fail in surprising ways.
> > This test isn't even run.
>
> I think the problem isn't the nesting of single quote, but just using
> singleq quotes ''' at all in a doctest.  I think the doctest script
> only extracts tests with double quotes: """.
>

Yes, that's right.  See

  <http://trac.sagemath.org/sage_trac/ticket/8708>

-- 
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

Reply via email to