Rebuilt from scratch, got one failure with ptestlong
sage -t --long src/sage/schemes/toric/weierstrass.py
**********************************************************************
File "src/sage/schemes/toric/weierstrass.py", line 478, in
sage.schemes.toric.weierstrass.WeierstrassForm
Failed example:
for P in ReflexivePolytopes(2):
S = ToricVariety(FaceFan(P))
p = sum((-S.K()).sections_monomials())
print WeierstrassForm(p)
Exception raised:
Traceback (most recent call last):
File
"/home/vincent/sage_patchbot/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File
"/home/vincent/sage_patchbot/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.schemes.toric.weierstrass.WeierstrassForm[20]>", line 3, in <module>
p = sum((-S.K()).sections_monomials())
File
"/home/vincent/sage_patchbot/local/lib/python2.7/site-packages/sage/schemes/toric/divisor.py",
line 1446, in sections_monomials
return tuple(self.monomial(m) for m in self.sections())
File
"/home/vincent/sage_patchbot/local/lib/python2.7/site-packages/sage/schemes/toric/divisor.py",
line 1397, in sections
M = self.parent().scheme().fan().dual_lattice()
File "sage/structure/parent.pyx", line 841, in
sage.structure.parent.Parent.__getattr__
(build/cythonized/sage/structure/parent.c:7886)
attr = getattr_from_other_class(self,
self._category.parent_class, name)
File "sage/structure/misc.pyx", line 253, in
sage.structure.misc.getattr_from_other_class
(build/cythonized/sage/structure/misc.c:1583)
raise dummy_attribute_error
AttributeError: 'MatrixSpace_with_category' object has no attribute
'scheme'
**********************************************************************
If I run independently sage -t --long on this file I get a different error
sage -t --long src/sage/schemes/toric/weierstrass.py
**********************************************************************
File "src/sage/schemes/toric/weierstrass.py", line 277, in
sage.schemes.toric.weierstrass.Newton_polytope_vars_coeffs
Failed example:
p_data = Newton_polytope_vars_coeffs(p, [x,y,z]); p_data
Expected:
{(0, 0, 3): a00,
(0, 1, 2): a01,
(0, 2, 1): a02,
(0, 3, 0): a03,
(1, 0, 2): a10,
(1, 1, 1): a11,
(1, 2, 0): a12,
(2, 0, 1): a20,
(2, 1, 0): a21,
(3, 0, 0): a30}
Got:
{(2, 1, 0): a21, (0, 3, 0): a03, (1, 0, 2): a10, (0, 2, 1): a02, (0,
1, 2): a01, (3, 0, 0): a30, (2, 0, 1): a20, (1, 2, 0): a12, (1, 1, 1):
a11, (0, 0, 3): a00}
**********************************************************************
Vincent
--
You received this message because you are subscribed to the Google Groups
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.