#13924: A few more long times
----------------------------------+-----------------------------------------
Reporter: jdemeyer | Owner: mvngu
Type: enhancement | Status: new
Priority: critical | Milestone: sage-5.6
Component: doctest | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Jeroen Demeyer | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by nbruin):
For the doctest in,
{{{
diff --git a/sage/categories/homset.py b/sage/categories/homset.py
}}}
would you agree with the change
{{{#!diff
- sage: for p in prime_range(10^5):
+ sage: for p in prime_range(10^2):
... K = GF(p)
... a = K(0)
sage: import gc
sage: gc.collect() # random
624
sage: from sage.rings.finite_rings.finite_field_prime_modn import
FiniteField_prime_modn as FF
sage: L = [x for x in gc.get_objects() if isinstance(x, FF)]
- sage: len(L), L[0], L[len(L)-1]
+ sage: len(L), L[0], L[len(L)-1]
(2, Finite Field of size 2, Finite Field of size 97)
}}}
This doctest obviously doesn't have to take long (unless
`gc.get_objects()` is slow on `sage.math`) and it would be nice if we can
test it as often as possible. I can update your patch if you prefer.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13924#comment:1>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.