#19758: Remove deprecated "property foo:" Cython syntax
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-7.0
Component: cython | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers: Volker Braun
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/remove_deprecated__property_foo___cython_syntax|
f6cc4629a2d8ee3dcab5a0ab6bdd4b59311d4c9b
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):
* status: positive_review => needs_work
Comment:
{{{
sage -t --warn-long 40.9 src/sage/matroids/matroids_plot_helpers.py
**********************************************************************
File "src/sage/matroids/matroids_plot_helpers.py", line 59, in
sage.matroids.matroids_plot_helpers
Failed example:
matroids_plot_helpers.geomrep(M1, sp=True)
Exception raised:
Traceback (most recent call last):
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.matroids.matroids_plot_helpers[4]>", line 1, in
<module>
matroids_plot_helpers.geomrep(M1, sp=True)
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/matroids/matroids_plot_helpers.py", line 891, in geomrep
ptsx, ptsy, x_i, y_i = createline(pts2, ll, lineorders1)
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/matroids/matroids_plot_helpers.py", line 377, in createline
tck, u = scipy.interpolate.splprep([sortedx, sortedy], s=0.0, k=2)
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/scipy/interpolate/fitpack.py", line 281, in splprep
task, ipar, s, t, nest, wrk, iwrk, per)
TypeError: Cannot cast array data from dtype('O') to dtype('float64')
according to the rule 'safe'
**********************************************************************
1 item had failures:
1 of 6 in sage.matroids.matroids_plot_helpers
[73 tests, 1 failure, 1.08 s]
----------------------------------------------------------------------
sage -t --warn-long 40.9 src/sage/matroids/matroids_plot_helpers.py # 1
doctest failed
----------------------------------------------------------------------
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19758#comment:7>
Sage <http://www.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 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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.