#5754: [with patch; needs work] docstrings for all the interactive_constructors
functions are *all* now completely broken
---------------------------+------------------------------------------------
Reporter: was | Owner: tba
Type: defect | Status: new
Priority: major | Milestone: sage-3.4.2
Component: documentation | Keywords:
---------------------------+------------------------------------------------
Comment(by was):
REFEREE REPORT:
The code looks great. But it fails doctests on a clean 3.4.1.rc2 install
on sage.math:
{{{
----------------------------------------------------------------------
| Sage Version 3.4.1.rc2, Release Date: 2009-04-10 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage:
Exiting SAGE (CPU time 0m0.03s, Wall time 0m0.79s).
wst...@sage:~/build/sage-3.4.1.rc2$ ./sage -t
devel/sage/sage/misc/sagedoc.py
sage -t "devel/sage/sage/misc/sagedoc.py"
**********************************************************************
File
"/scratch/wstein/build/sage-3.4.1.rc2/devel/sage/sage/misc/sagedoc.py",
line 366:
sage: format_search_as_html('Source',
'algebras/steenrod_algebra_element.py: an antihomomorphism: if we
call the antipode `c`, then', 'antipode antihomomorphism')
Exception raised:
Traceback (most recent call last):
File "/scratch/wstein/build/sage-3.4.1.rc2/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/scratch/wstein/build/sage-3.4.1.rc2/local/bin/sagedoctest.py", line 38,
in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/scratch/wstein/build/sage-3.4.1.rc2/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_7[2]>", line 1, in <module>
format_search_as_html('Source',
'algebras/steenrod_algebra_element.py: an antihomomorphism: if we
call the antipode `c`, then', 'antipode antihomomorphism')###line 366:
sage: format_search_as_html('Source',
'algebras/steenrod_algebra_element.py: an antihomomorphism: if we
call the antipode `c`, then', 'antipode antihomomorphism')
NameError: name 'format_search_as_html' is not defined
**********************************************************************
File
"/scratch/wstein/build/sage-3.4.1.rc2/devel/sage/sage/misc/sagedoc.py",
line 368:
sage: format_search_as_html('Other',
'html/en/reference/sage/algebras/steenrod_algebra_element.html:an
antihomomorphism: if we call the antipode <span class="math">c</span>,
then', 'antipode antihomomorphism')
Exception raised:
Traceback (most recent call last):
File "/scratch/wstein/build/sage-3.4.1.rc2/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/scratch/wstein/build/sage-3.4.1.rc2/local/bin/sagedoctest.py", line 38,
in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/scratch/wstein/build/sage-3.4.1.rc2/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_7[3]>", line 1, in <module>
format_search_as_html('Other',
'html/en/reference/sage/algebras/steenrod_algebra_element.html:an
antihomomorphism: if we call the antipode <span class="math">c</span>,
then', 'antipode antihomomorphism')###line 368:
sage: format_search_as_html('Other',
'html/en/reference/sage/algebras/steenrod_algebra_element.html:an
antihomomorphism: if we call the antipode <span class="math">c</span>,
then', 'antipode antihomomorphism')
NameError: name 'format_search_as_html' is not defined
html/en/tutorial/tour_polynomial.html:<p>This creates a polynomial ring
and tells Sage to use (the string)
**********************************************************************
1 items had failures:
2 of 4 in __main__.example_7
***Test Failed*** 2 failures.
For whitespace errors, see the file
/scratch/wstein/build/sage-3.4.1.rc2/tmp/.doctest_sagedoc.py
[16.4 s]
exit code: 1024
----------------------------------------------------------------------
The following tests failed:
sage -t "devel/sage/sage/misc/sagedoc.py"
Total time for all tests: 16.4 seconds
wst...@sage:~/build/sage-3.4.1.rc2$
}}}
The rest of the Sage library testsuite passes.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5754#comment:1>
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
-~----------~----~----~----~------~----~------~--~---