Skip to content

Commit 2d4089f

Browse files
author
Release Manager
committed
gh-40558: Add long time marker to several slow tests This gets rid of about half of the warnings, until someone figure out whether they're intended to be slow, or how they can be sped up. Reference: #39569, #39746 ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [ ] The title is concise and informative. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - #12345: short description why this is a dependency --> <!-- - #34567: ... --> URL: #40558 Reported by: user202729 Reviewer(s): Michael Orlitzky, user202729
2 parents efd9de4 + 047101c commit 2d4089f

File tree

17 files changed

+24
-16
lines changed

17 files changed

+24
-16
lines changed

src/sage/algebras/lie_conformal_algebras/n2_lie_conformal_algebra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def __init__(self, R):
8080
TESTS::
8181
8282
sage: V = lie_conformal_algebras.N2(QQ)
83-
sage: TestSuite(V).run()
83+
sage: TestSuite(V).run() # long time (:issue:`39569`)
8484
"""
8585
n2dict = {('L', 'L'): {0: {('L', 1): 1},
8686
1: {('L', 0): 2},

src/sage/geometry/hyperplane_arrangement/ordered_arrangement.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,13 +400,13 @@ def projective_fundamental_group(self):
400400
(0, 0, 0, 0, 0)
401401
sage: A4.<t1, t2, t3, t4> = OrderedHyperplaneArrangements(QQ)
402402
sage: H = A4(hyperplane_arrangements.braid(4))
403-
sage: G4 = H.projective_fundamental_group(); G4.sorted_presentation()
403+
sage: G4 = H.projective_fundamental_group(); G4.sorted_presentation() # long time (:issue:`39569`)
404404
Finitely presented group
405405
< x0, x1, x2, x3, x4 | x4^-1*x3^-1*x2^-1*x3*x4*x0*x2*x0^-1,
406406
x4^-1*x2^-1*x4*x2, x4^-1*x1^-1*x0^-1*x1*x4*x0,
407407
x4^-1*x1^-1*x0^-1*x4*x0*x1,
408408
x3^-1*x2^-1*x1^-1*x0^-1*x3*x0*x1*x2, x3^-1*x1^-1*x3*x1 >
409-
sage: G4.abelian_invariants()
409+
sage: G4.abelian_invariants() # long time (:issue:`39569`)
410410
(0, 0, 0, 0, 0)
411411
412412
sage: # needs sirocco

src/sage/graphs/graph_decompositions/modular_decomposition.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def corneil_habib_paul_tedder_algorithm(G):
8484
....: 3, 4, 0.2)
8585
sage: recreate_decomposition(10, corneil_habib_paul_tedder_algorithm,
8686
....: 4, 5, 0.2)
87-
sage: recreate_decomposition(3, corneil_habib_paul_tedder_algorithm,
87+
sage: recreate_decomposition(3, corneil_habib_paul_tedder_algorithm, # long time (:issue:`39569`)
8888
....: 6, 5, 0.2)
8989
9090
sage: H = Graph('Hv|mmjz', format='graph6')

src/sage/graphs/independent_sets.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ cdef class IndependentSets:
161161
....: IS2.extend(map(Set, list(G.subgraph_search_iterator(Graph(n), induced=True, return_graphs=False))))
162162
....: if len(IS) != len(set(IS2)):
163163
....: raise ValueError("something goes wrong")
164-
sage: for i in range(5): # needs sage.modules
164+
sage: for i in range(5): # needs sage.modules, long time (:issue:`39569`)
165165
....: check_with_subgraph_search(graphs.RandomGNP(11, .3))
166166
167167
Empty graph::

src/sage/interfaces/maxima_abstract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def _commands(self, verbose=True):
304304
EXAMPLES::
305305
306306
# The output is kind of random
307-
sage: sorted(maxima._commands(verbose=False))
307+
sage: sorted(maxima._commands(verbose=False)) # long time (:issue:`39569`)
308308
[...
309309
'display',
310310
...

src/sage/libs/singular/polynomial.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ cdef int singular_polynomial_cmp(poly *p, poly *q, ring *r) noexcept:
270270
271271
::
272272
273+
sage: # long time (:issue:`39569`)
273274
sage: R.<x,y> = Integers(10)[]
274275
sage: l = [i*x+j*y+k for i in range(10) for j in range(10) for k in range(10)]
275276
sage: l.sort()

src/sage/modular/modform/element.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2760,6 +2760,7 @@ def _pow_int(self, n):
27602760
27612761
Testing modular forms of nontrivial character::
27622762
2763+
sage: # long time (:issue:`39569`)
27632764
sage: F = ModularForms(DirichletGroup(17).0^2, 2).2
27642765
sage: F3 = F^3; F3
27652766
q^3 + (-3*zeta8^2 + 6)*q^4 + (-12*zeta8^2 + 3*zeta8 + 18)*q^5 + O(q^6)

src/sage/rings/function_field/khuri_makdisi.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,7 @@ cdef class KhuriMakdisi_small(KhuriMakdisi_base):
820820
821821
Check that :issue:`40237` is fixed::
822822
823+
sage: # long time (:issue:`39569`)
823824
sage: K = GF(2)
824825
sage: F.<x> = FunctionField(K)
825826
sage: t = polygen(F)
@@ -873,6 +874,7 @@ cdef class KhuriMakdisi_small(KhuriMakdisi_base):
873874
874875
Check that :issue:`39148` is fixed::
875876
877+
sage: # long time (:issue:`39569`)
876878
sage: k.<x> = FunctionField(GF(17)); t = polygen(k)
877879
sage: F.<y> = k.extension(t^4 + (14*x + 14)*t^3 + 9*t^2 + (10*x^2 + 15*x + 8)*t
878880
....: + 7*x^3 + 15*x^2 + 6*x + 16)

src/sage/rings/number_field/number_field_element.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ cdef class NumberFieldElement(NumberFieldElement_base):
507507
508508
Check that :issue:`15276` is fixed::
509509
510-
sage: for n in range(2,20): # needs sage.libs.gap
510+
sage: for n in range(2,20): # needs sage.libs.gap, long time (:issue:`39569`)
511511
....: K = CyclotomicField(n)
512512
....: assert K(gap(K.gen())) == K.gen(), "n = {}".format(n)
513513
....: assert K(gap(K.one())) == K.one(), "n = {}".format(n)

src/sage/rings/semirings/tropical_mpolynomial.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ def dual_subdivision(self):
543543
544544
A subdivision with many faces, not all of which are triangles::
545545
546+
sage: # long time (:issue:`39569`)
546547
sage: T = TropicalSemiring(QQ)
547548
sage: R.<x,y> = PolynomialRing(T)
548549
sage: p3 = (R(8) + R(4)*x + R(2)*y + R(1)*x^2 + x*y + R(1)*y^2
@@ -578,6 +579,7 @@ def dual_subdivision(self):
578579
579580
Dual subdivision of a tropical surface::
580581
582+
sage: # long time (:issue:`39569`)
581583
sage: T = TropicalSemiring(QQ)
582584
sage: R.<x,y,z> = PolynomialRing(T)
583585
sage: p1 = x + y + z + x^2 + R(1)

0 commit comments

Comments
 (0)