-
-
Notifications
You must be signed in to change notification settings - Fork 528
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #7946: Fix TestSuite failures for schemes
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.) URL: http://trac.sagemath.org/7946 Reported by: nthiery Ticket author(s): Peter Bruin Reviewer(s): Travis Scrimshaw
- Loading branch information
Showing
4 changed files
with
123 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters