Skip to content

Commit e74039c

Browse files
committed
Trac #32967: add "# long time" to some examples in tensorfield.py.
There's one test in this file that runs for almost 20s on my machine that I think qualifies as "a long time." Here we add the comment tag to it.
1 parent cc60cfe commit e74039c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sage/manifolds/differentiable/tensorfield.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4293,20 +4293,20 @@ def dalembertian(self, metric=None):
42934293
sage: e[1] = cos(t-z)
42944294
sage: e.display() # plane wave propagating in the z direction
42954295
e = cos(t - z) ∂/∂x
4296-
sage: De = e.dalembertian(); De
4296+
sage: De = e.dalembertian(); De # long time
42974297
Vector field Box(e) on the 4-dimensional Lorentzian manifold M
42984298
42994299
The function :func:`~sage.manifolds.operators.dalembertian` from the
43004300
:mod:`~sage.manifolds.operators` module can be used instead of the
43014301
method :meth:`dalembertian`::
43024302
43034303
sage: from sage.manifolds.operators import dalembertian
4304-
sage: dalembertian(e) == De
4304+
sage: dalembertian(e) == De # long time
43054305
True
43064306
43074307
We check that the electric field obeys the wave equation::
43084308
4309-
sage: De.display()
4309+
sage: De.display() # long time
43104310
Box(e) = 0
43114311
43124312
"""

0 commit comments

Comments
 (0)