#16681: Random doctest failures in sage/rings/algebraic_closure_finite_field.py
-------------------------------------------------+-------------------------
Reporter: vbraun | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.4
Component: number theory | Resolution:
Keywords: random_fail | Merged in:
Authors: Vincent Delecroix | Reviewers: Volker
Report Upstream: N/A | Braun
Branch: | Work issues:
f6dc3562a5b553bebaffc70c64b65ea63466ccae | Commit:
Dependencies: #16682 | Stopgaps:
-------------------------------------------------+-------------------------
Changes (by vbraun):
* status: closed => new
* commit: f6dc3562a5b553bebaffc70c64b65ea63466ccae =>
* resolution: fixed =>
Comment:
Got another random failure with this ticket merged:
{{{
sage -t src/sage/rings/algebraic_closure_finite_field.py
**********************************************************************
File "src/sage/rings/algebraic_closure_finite_field.py", line 942, in
sage.rings.algebraic_closure_finite_field.AlgebraicClosureFiniteField_generic._factor_univariate_polynomial
Failed example:
for d in xrange(10):
p = R.random_element(degree=randint(2,8))
assert p.factor().prod() == p, "error in the factorization of
p={}".format(p)
Exception raised:
Traceback (most recent call last):
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 480, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 843, in compile_and_execute
exec compiled in globs
File "<doctest
sage.rings.algebraic_closure_finite_field.AlgebraicClosureFiniteField_generic._factor_univariate_polynomial[4]>",
line 3, in <module>
assert p.factor().prod() == p, "error in the factorization of
p={}".format(p)
AssertionError: error in the factorization of p=T^7 + T^6 + T^5 +
2*T^4 + 2*T^3 + 2*T^2 + T + 2
**********************************************************************
1 item had failures:
1 of 6 in
sage.rings.algebraic_closure_finite_field.AlgebraicClosureFiniteField_generic._factor_univariate_polynomial
[175 tests, 1 failure, 5.03 s]
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/16681#comment:14>
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/d/optout.