Changes between Initial Version and Version 1 of Ticket #22399


Ignore:
Timestamp:
02/21/17 01:01:49 (5 years ago)
Author:
mkoeppe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22399

    • Property Cc vbraun rws vdelecroix added
    • Property Summary changed from piecewise functions fail their TestSuite: _test_category, _test_pickling to piecewise and hypergeometric functions fail their TestSuite: _test_category, _test_pickling
  • Ticket #22399 – Description

    initial v1  
    2929The following tests failed: _test_category, _test_pickling
    3030}}}
     31
     32Same errors for `hypergeometric`:
     33{{{
     34sage: TestSuite(hypergeometric([2, 3], [1], 1)).run()
     35Failure in _test_category:
     36Traceback (most recent call last):
     37  File "/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/lib/python2.7/site-packages/sage/misc/sage_unittest.py", line 293, in run
     38    test_method(tester = tester)
     39  File "sage/structure/element.pyx", line 667, in sage.structure.element.Element._test_category (build/cythonized/sage/structure/element.c:6348)
     40    tester.assert_(isinstance(self, self.parent().category().element_class))
     41  File "/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/lib/python/unittest/case.py", line 422, in assertTrue
     42    raise self.failureException(msg)
     43AssertionError: False is not true
     44------------------------------------------------------------
     45Failure in _test_pickling:
     46Traceback (most recent call last):
     47  File "/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/lib/python2.7/site-packages/sage/misc/sage_unittest.py", line 293, in run
     48    test_method(tester = tester)
     49  File "sage/structure/sage_object.pyx", line 638, in sage.structure.sage_object.SageObject._test_pickling (build/cythonized/sage/structure/sage_object.c:5753)
     50    tester.assertEqual(loads(dumps(self)), self)
     51  File "sage/structure/sage_object.pyx", line 1113, in sage.structure.sage_object.dumps (build/cythonized/sage/structure/sage_object.c:13793)
     52    return obj.dumps(compress)
     53  File "sage/structure/sage_object.pyx", line 454, in sage.structure.sage_object.SageObject.dumps (build/cythonized/sage/structure/sage_object.c:4193)
     54    s = cPickle.dumps(self, protocol=2)
     55PicklingError: Can't pickle <class 'sage.functions.hypergeometric.EvaluationMethods'>: attribute lookup sage.functions.hypergeometric.EvaluationMethods failed
     56------------------------------------------------------------
     57The following tests failed: _test_category, _test_pickling
     58}}}
     59