#5806: [with patch, needs review] Sage 3.4.1.rc3: failing test
"devel/sage/sage/misc/sagedoc.py"
---------------------+------------------------------------------------------
Reporter: jsp | Owner: ddrake
Type: defect | Status: assigned
Priority: blocker | Milestone: sage-4.0.1
Component: misc | Keywords:
---------------------+------------------------------------------------------
Comment(by jhpalmieri):
With 'sage -t', all tests pass, but with 'sage -t -long', I get this:
{{{
sage -t -long "devel/sage/sage/misc/sagedoc.py"
**********************************************************************
File "/Applications/sage/devel/sage/sage/misc/sagedoc.py", line 466:
sage: print search_src('^ *sage[:] .*search_src(', interact=False) #
long time
Expected:
misc/sagedoc.py: ... print search_src(" fetch(", "def",
interact=False) # random # long time
misc/sagedoc.py: ... print search_src(" fetch(", "def", "pyx",
interact=False) # random # long time
misc/sagedoc.py: ... print search_src('^ *sage[:]
.*search_src(', interact=False) # long time
misc/sagedoc.py: ... len(search_src("matrix",
interact=False).splitlines()) > 10000 # long time
misc/sagedoc.py: ... print search_src('matrix', 'column',
'row', '0', 'sub', 'start', interact=False) # random # long time
Got:
/misc/sagedoc.py: sage: print search_src(" fetch(", "def",
interact=False) # random # long time
/misc/sagedoc.py: sage: print search_src(" fetch(", "def",
"pyx", interact=False) # random # long time
/misc/sagedoc.py: sage: print search_src('^ *sage[:]
.*search_src(', interact=False) # long time
/misc/sagedoc.py: sage: len(search_src("matrix",
interact=False).splitlines()) > 10000 # long time
/misc/sagedoc.py: sage: print search_src('matrix', 'column',
'row', '0', 'sub', 'start', interact=False) # random # long time
/misc/sagedoc.py: sage: search_doc('this creates a polynomial
ring') # random # this function has no output: it just prints a string
/misc/sagedoc.py: html/en/tutorial/tour_polynomial.html:<p>This
creates a polynomial ring and tells Sage to use (the string)
**********************************************************************
1 items had failures:
1 of 7 in __main__.example_8
}}}
I thought that the ellipses were the problem, but now I see the missing
slash at the beginning. Here's a new version of the part 3 patch which
you might be happier with.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5806#comment:28>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---