#13764: CartesianProduct with generators -> silent wrong answer
---------------------------------+------------------------------------------
Reporter: vbraun | Owner: sage-combinat
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.6
Component: combinatorics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Volker Braun | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Changes (by ncohen):
* status: positive_review => needs_work
Comment:
Arggggggggg....
Ahem...
{{{
sage -t -long "devel/sage-2/sage/combinat/root_system/associahedron.py"
**********************************************************************
File
"/home/ncohen/.Sage/devel/sage-2/sage/combinat/root_system/associahedron.py",
line 83:
sage: TestSuite(Asso).run()
Expected nothing
Got:
Failure in _test_pickling:
Traceback (most recent call last):
File "/home/ncohen/.Sage/local/lib/python/site-
packages/sage/misc/sage_unittest.py", line 275, in run
test_method(tester = tester)
File "sage_object.pyx", line 396, in
sage.structure.sage_object.SageObject._test_pickling
(sage/structure/sage_object.c:3669)
File "/home/ncohen/.Sage/local/lib/python2.7/unittest/case.py", line
511, in assertEqual
assertion_func(first, second, msg=msg)
File "/home/ncohen/.Sage/local/lib/python2.7/unittest/case.py", line
501, in _baseAssertEqual
if not first == second:
File "/home/ncohen/.Sage/local/lib/python/site-
packages/sage/geometry/polyhedron/base.py", line 382, in __eq__
return self._is_subpolyhedron(other) and
other._is_subpolyhedron(self)
File "/home/ncohen/.Sage/local/lib/python/site-
packages/sage/geometry/polyhedron/base.py", line 490, in _is_subpolyhedron
CartesianProduct(other.Hrep_generator(), self.Vrep_generator()) )
File "/home/ncohen/.Sage/local/lib/python/site-
packages/sage/combinat/cartesian_product.py", line 64, in CartesianProduct
'(type "CartesianProduct?") for a workaround')
ValueError: generators are not allowed, see the documentation (type
"CartesianProduct?") for a workaround
------------------------------------------------------------
The following tests failed: _test_pickling
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13764#comment:18>
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.