Re: [sage-devel] Doctest quesiton

2010-12-17 Thread Justin C. Walker
Thanks for all the comments... On Dec 16, 2010, at 23:57 , Dan Drake wrote: > On Thu, 16 Dec 2010 at 09:12PM -0800, Justin C. Walker wrote: >> I have a doctest that results in a long (400-byte) string of output. >> Is there a simple way to tell the doctest code to ignore whitespace >> (in particu

Re: [sage-devel] Doctest quesiton

2010-12-17 Thread Jeroen Demeyer
On 2010-12-17 06:12, Justin C. Walker wrote: > Hi, all, > > I have a doctest that results in a long (400-byte) string of output. Is > there a simple way to tell the doctest code to ignore whitespace (in > particular, newlines) when comparing output? I don't think putting that > output in the

Re: [sage-devel] Doctest quesiton

2010-12-16 Thread Dan Drake
On Thu, 16 Dec 2010 at 09:12PM -0800, Justin C. Walker wrote: > I have a doctest that results in a long (400-byte) string of output. > Is there a simple way to tell the doctest code to ignore whitespace > (in particular, newlines) when comparing output? I don't think putting > that output in the fi

[sage-devel] Doctest quesiton

2010-12-16 Thread Justin C. Walker
Hi, all, I have a doctest that results in a long (400-byte) string of output. Is there a simple way to tell the doctest code to ignore whitespace (in particular, newlines) when comparing output? I don't think putting that output in the file is a reasonable thing to do, but I don't want to jum