-
-
Notifications
You must be signed in to change notification settings - Fork 673
Closed
Description
Consider the following situation:
sage: S = Spec(ZZ)
sage: x = S.an_element()
Running TestSuite(S)
and TestSuite(x)
yields several failures. A related problem is
sage: S
Spectrum of Integer Ring
sage: parent(x)
Set of rational points of Spectrum of Integer Ring
whereas we expect parent(x) is S
.
Here is the complete TestSuite
report:
sage: TestSuite(S).run()
Failure in _test_an_element:
Traceback (most recent call last):
...
NotImplementedError
------------------------------------------------------------
Failure in _test_category:
Traceback (most recent call last):
...
AssertionError: False is not true
------------------------------------------------------------
Failure in _test_pickling:
Traceback (most recent call last):
...
AssertionError: Point on Spectrum of Integer Ring defined by the Principal ideal (991) of Integer Ring != Point on Spectrum of Integer Ring defined by the Principal ideal (991) of Integer Ring
------------------------------------------------------------
The following tests failed: _test_category, _test_pickling
Failure in _test_elements
Failure in _test_some_elements:
Traceback (most recent call last):
...
NotImplementedError
------------------------------------------------------------
The following tests failed: _test_an_element, _test_elements, _test_some_elements
sage: TestSuite(x).run()
Failure in _test_category:
Traceback (most recent call last):
...
AssertionError: False is not true
------------------------------------------------------------
Failure in _test_pickling:
Traceback (most recent call last):
...
AssertionError: Point on Spectrum of Integer Ring defined by the Principal ideal (991) of Integer Ring != Point on Spectrum of Integer Ring defined by the Principal ideal (991) of Integer Ring
------------------------------------------------------------
The following tests failed: _test_category, _test_pickling
(Note: the NotImplementedError
that one gets after applying #16158 is a different one than before.)
Depends on #16158
CC: @vbraun
Component: algebraic geometry
Author: Peter Bruin
Branch/Commit: 5fd92ee
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/7946