#8386: enhanced version of iet
--------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner: vdelecroix
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.0
Component: combinatorics | Resolution:
Keywords: iet, combinatorics | Work issues: doctest failure
Report Upstream: N/A | Reviewers:
Authors: vdelecroix | Merged in:
Dependencies: #12643 | Stopgaps:
--------------------------------------+-------------------------------------
Changes (by davidloeffler):
* status: needs_review => needs_work
* work_issues: => doctest failure
Comment:
This seems to work with 4.8 but two doctests consistently fail with recent
5.0 betas:
{{{
**********************************************************************
File
"/storage/masiao/sage-5.0.beta12-patchbot/devel/sage-8386/sage/dynamics/flat_surfaces/abelian_strata.py",
line 1348:
sage: c1 != c2_hyp
Exception raised:
Traceback (most recent call last):
File
"/storage/masiao/sage-5.0.beta12-patchbot/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/storage/masiao/sage-5.0.beta12-patchbot/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File
"/storage/masiao/sage-5.0.beta12-patchbot/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_38[13]>", line 1, in <module>
c1 != c2_hyp###line 1348:
sage: c1 != c2_hyp
File "/storage/masiao/sage-5.0.beta12-patchbot/local/lib/python
/site-packages/sage/dynamics/flat_surfaces/abelian_strata.py", line 1364,
in __cmp__
return type.__cmp__(type(self),type(other))
AttributeError: type object 'type' has no attribute '__cmp__'
**********************************************************************
File
"/storage/masiao/sage-5.0.beta12-patchbot/devel/sage-8386/sage/dynamics/flat_surfaces/abelian_strata.py",
line 1350:
sage: c2_hyp != c2_odd
Exception raised:
Traceback (most recent call last):
File
"/storage/masiao/sage-5.0.beta12-patchbot/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/storage/masiao/sage-5.0.beta12-patchbot/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File
"/storage/masiao/sage-5.0.beta12-patchbot/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_38[14]>", line 1, in <module>
c2_hyp != c2_odd###line 1350:
sage: c2_hyp != c2_odd
File "/storage/masiao/sage-5.0.beta12-patchbot/local/lib/python
/site-packages/sage/dynamics/flat_surfaces/abelian_strata.py", line 1364,
in __cmp__
return type.__cmp__(type(self),type(other))
AttributeError: type object 'type' has no attribute '__cmp__'
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8386#comment:8>
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 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.