#6318: optional doctest failure -- axiom interface -- something doesn't work
-------------------------------+--------------------------------------------
Reporter: was | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-4.0.3
Component: optional packages | Keywords:
Reviewer: | Author:
Merged: |
-------------------------------+--------------------------------------------
{{{
sage -t -long --optional devel/sage/sage/interfaces/sage0.py
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
main/sage/interfaces/sage0.py", line 252:
sage: sage0(axiom(x^2+1)) #optional - axiom
Exception raised:
Traceback (most recent call last):
File
"/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File
"/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_6[5]>", line 1, in <module>
sage0(axiom(x**Integer(2)+Integer(1))) #optional - axiom###line
252:
sage: sage0(axiom(x^2+1)) #optional - axiom
File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
/site-packages/sage/interfaces/expect.py", line 1026, in __call__
return self._coerce_from_special_method(x)
File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
/site-packages/sage/interfaces/expect.py", line 1050, in
_coerce_from_special_method
return (x.__getattribute__(s))(self)
File "sage_object.pyx", line 310, in
sage.structure.sage_object.SageObject._axiom_
(sage/structure/sage_object.c:3875)
File "expression.pyx", line 404, in
sage.symbolic.expression.Expression._interface_
(sage/symbolic/expression.cpp:3275)
File "sage_object.pyx", line 248, in
sage.structure.sage_object.SageObject._interface_
(sage/structure/sage_object.c:2716)
File "sage_object.pyx", line 315, in
sage.structure.sage_object.SageObject._axiom_init_
(sage/structure/sage_object.c:3969)
File "expression.pyx", line 443, in
sage.symbolic.expression.Expression._interface_init_
(sage/symbolic/expression.cpp:3536)
File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
/site-packages/sage/symbolic/expression_conversions.py", line 401, in
__init__
self.relation_symbols = interface._relation_symbols()
File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
/site-packages/sage/interfaces/expect.py", line 1139, in _relation_symbols
return dict([(operator.eq, self._equality_symbol()), (operator.ne,
"!="),
File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
/site-packages/sage/interfaces/expect.py", line 1105, in _equality_symbol
raise NotImplementedError
NotImplementedError
**********************************************************************
1 items had failures:
1 of 6 in __main__.example_6
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/wstein/build/sage-4.0.2.alpha3/tmp/.doctest_sage0.py
[8.0 s]
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6318>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---