#5809: [with patch, needs work] schemes/generic/hypersurface.py is completely
broken
--------------------------------+-------------------------------------------
 Reporter:  AlexGhitza          |       Owner:  AlexGhitza  
     Type:  defect              |      Status:  assigned    
 Priority:  major               |   Milestone:  sage-4.0    
Component:  algebraic geometry  |    Keywords:  hypersurface
--------------------------------+-------------------------------------------

Comment(by mabshoff):

 There are some doctest failures against 3.4.1:
 {{{
         sage -t  devel/sage/sage/schemes/elliptic_curves/ell_point.py # 2
 doctests failed
         sage -t  devel/sage/sage/schemes/elliptic_curves/ell_generic.py #
 3 doctests failed
         sage -t  devel/sage/sage/schemes/plane_curves/constructor.py # 1
 doctests failed
         sage -t  devel/sage/sage/schemes/elliptic_curves/ell_field.py # 1
 doctests failed
 }}}
 For example:
 {{{
 sage -t  "devel/sage/sage/schemes/elliptic_curves/ell_point.py"
 **********************************************************************
 File
 
"/scratch/mabshoff/sage-3.4.2.alpha0/devel/sage/sage/schemes/elliptic_curves/ell_point.py",
 line 175:
     sage: E(1,0,0)
 Expected:
     Traceback (most recent call last):
     ...
     TypeError: coordinates [1, 0, 0] do not define a point on
     Elliptic Curve defined by y^2 + y = x^3 - x over Rational Field
 Got:
     Traceback (most recent call last):
       File "/scratch/mabshoff/sage-3.4.2.alpha0/local/bin/ncadoctest.py",
 line 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/scratch/mabshoff/sage-3.4.2.alpha0/local/bin/sagedoctest.py",
 line 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/scratch/mabshoff/sage-3.4.2.alpha0/local/bin/ncadoctest.py",
 line 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_3[6]>", line 1, in <module>
         E(Integer(1),Integer(0),Integer(0))###line 175:
     sage: E(1,0,0)
       File "/scratch/mabshoff/sage-3.4.2.alpha0/local/lib/python/site-
 packages/sage/schemes/elliptic_curves/ell_generic.py", line 611, in
 __call__
         return plane_curve.ProjectiveCurve_generic.__call__(self, *args,
 **kwds)
       File "/scratch/mabshoff/sage-3.4.2.alpha0/local/lib/python2.5/site-
 packages/sage/schemes/generic/scheme.py", line 198, in __call__
         return self.point(args)
       File "/scratch/mabshoff/sage-3.4.2.alpha0/local/lib/python2.5/site-
 packages/sage/schemes/generic/scheme.py", line 232, in point
         return self._point_class(self, v, check=check)
       File "/scratch/mabshoff/sage-3.4.2.alpha0/local/lib/python/site-
 packages/sage/schemes/elliptic_curves/ell_point.py", line 275, in __init__
         point_homset.codomain()._check_satisfies_equations(v)
       File "/scratch/mabshoff/sage-3.4.2.alpha0/local/lib/python/site-
 packages/sage/schemes/elliptic_curves/ell_field.py", line 34, in
 _check_satisfies_equations
         self._error_bad_coords(v)
     AttributeError: 'EllipticCurve_rational_field' object has no attribute
 '_error_bad_coords'
 **********************************************************************
 <SNIP>
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5809#comment:4>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to