Changes between Initial Version and Version 1 of Ticket #7946


Ignore:
Timestamp:
01/17/10 20:46:37 (12 years ago)
Author:
nthiery
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7946 – Description

    initial v1  
     1Spec(...) does not specify its category:
     2
    13{{{
    24sage: C = Spec(ZZ)
     
    810
    911Caught with #7921; please write patch on top of it to avoid conflicts.
     12
     13Here is the complete TestSuite report, which also complains about
     14an_element, ...::
     15
     16{{{
     17sage: TestSuite(Spec(ZZ)).run()
     18running ._test_an_element() . . . fail
     19Traceback (most recent call last):
     20...
     21AssertionError: self.an_element() is not in self
     22------------------------------------------------------------
     23running ._test_category() . . . fail
     24Traceback (most recent call last):
     25...
     26AssertionError: category of self improperly initialized
     27------------------------------------------------------------
     28running ._test_elements() . . .
     29  Failure in _test_category:
     30  Traceback (most recent call last):
     31  ...
     32  AssertionError
     33  ------------------------------------------------------------
     34  running ._test_not_implemented_methods() . . . pass
     35  running ._test_pickling() . . . fail
     36  Traceback (most recent call last):
     37  ...
     38  RuntimeError: ...BUG in map, returned None Point on Spectrum of Integer Ring defined by the Principal ideal (2) of Integer Ring <type 'sage.categories.morphism.CallMorphism'> Call morphism:
     39  ------------------------------------------------------------
     40  The following tests failed: _test_category, _test_pickling
     41running ._test_not_implemented_methods() . . . pass
     42running ._test_pickling() . . . pass
     43running ._test_some_elements() . . . fail
     44Traceback (most recent call last):
     45...
     46AssertionError: the object Point on Spectrum of Integer Ring defined by the Principal ideal (2) of Integer Ring in self.some_elements() is not in self
     47------------------------------------------------------------
     48The following tests failed: _test_an_element, _test_category, _test_elements, _test_some_elements
     49}}}