#15223: Let the `TestSuite` test that the construction of a parent returns the
parent
-------------------------------------+-------------------------------------
Reporter: SimonKing | Owner:
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.1
Component: coercion | Resolution:
Keywords: construction | Merged in:
functor, test suite, sd53 | Reviewers:
Authors: Simon King | Work issues:
Report Upstream: N/A | Commit:
Branch: | cb4929aa68113ebdfe4e471a014f4621e42cdba7
u/SimonKing/ticket/15223 | Stopgaps:
Dependencies: #15229 |
-------------------------------------+-------------------------------------
Comment (by mmezzarobba):
Replying to [comment:31 SimonKing]:
> PS: What has failed for you in `sage -t
src/sage/rings/finite_rings/integer_mod_ring.py`?
The failures do not look deterministic. With the current state of your
branch, all tests passed when I did `sage -t integer_mod_ring.py` for the
first time. Then I tried again and repeatedly got:
{{{
$ sage -t src/sage/rings/finite_rings/integer_mod_ring.py
Running doctests with ID 2013-12-28-16-42-51-6b28af73.
Doctesting 1 file.
sage -t src/sage/rings/finite_rings/integer_mod_ring.py
**********************************************************************
File "src/sage/rings/finite_rings/integer_mod_ring.py", line 729, in
sage.rings.finite_rings.integer_mod_ring.IntegerModRing_generic._pseudo_fraction_field
Failed example:
Integers(15).fraction_field()
Expected:
Traceback (most recent call last):
...
TypeError: self must be an integral domain.
Got:
Ring of integers modulo 15
**********************************************************************
1 item had failures:
1 of 7 in
sage.rings.finite_rings.integer_mod_ring.IntegerModRing_generic._pseudo_fraction_field
[251 tests, 1 failure, 1.68 s]
----------------------------------------------------------------------
sage -t src/sage/rings/finite_rings/integer_mod_ring.py # 1 doctest
failed
----------------------------------------------------------------------
}}}
But I'm unable to reproduce this behaviour from the sage command line.
I will run the tests again after rebuilding sage from scratch.
--
Ticket URL: <http://trac.sagemath.org/ticket/15223#comment:32>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.