Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Remove SR doctests in sage.tensor.modules (#32712)
Browse files Browse the repository at this point in the history
  • Loading branch information
egourgoulhon committed Oct 18, 2021
1 parent 1635bd3 commit f46cce7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
7 changes: 0 additions & 7 deletions src/sage/tensor/modules/comp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1166,13 +1166,6 @@ def display(self, symbol, latex_symbol=None, index_positions=None,
C_01 = 0.33
C_21 = 0.29
Check that the bug reported in :trac:`22520` is fixed::
sage: c = Components(SR, [1, 2], 1)
sage: c[0] = SR.var('t', domain='real')
sage: c.display('c')
c_0 = t
"""
from sage.misc.latex import latex
from sage.tensor.modules.format_utilities import FormattedExpansion
Expand Down
9 changes: 0 additions & 9 deletions src/sage/tensor/modules/free_module_alt_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,15 +552,6 @@ def display(self, basis=None, format_spec=None):
sage: b.display(format_spec=10) # 10 bits of precision
b = 0.33 e^1∧e^2 + 2.5 e^1∧e^3 + 4.0 e^2∧e^3
Check that the bug reported in :trac:`22520` is fixed::
sage: M = FiniteRankFreeModule(SR, 2, name='M')
sage: e = M.basis('e')
sage: a = M.alternating_form(2)
sage: a[0,1] = SR.var('t', domain='real')
sage: a.display()
t e^0∧e^1
"""
from sage.misc.latex import latex
from sage.tensor.modules.format_utilities import FormattedExpansion
Expand Down
8 changes: 0 additions & 8 deletions src/sage/tensor/modules/free_module_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -685,14 +685,6 @@ def display(self, basis=None, format_spec=None):
sage: v.display(format_spec=10) # 10 bits of precision
v = 0.33 e_1 - 2.0 e_2
Check that the bug reported in :trac:`22520` is fixed::
sage: M = FiniteRankFreeModule(SR, 3, name='M')
sage: e = M.basis('e')
sage: t = SR.var('t', domain='real')
sage: (t*e[0]).display()
t e_0
"""
from sage.misc.latex import latex
from sage.typeset.unicode_characters import unicode_otimes
Expand Down

0 comments on commit f46cce7

Please sign in to comment.