Skip to content

Commit

Permalink
Matrix.str: Remove misleading indentation of doctest output
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Mar 30, 2024
1 parent 6a56950 commit d45422e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/sage/matrix/matrix0.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1941,11 +1941,11 @@ cdef class Matrix(sage.structure.element.Matrix):
....: bottom_border=['*', '', ''],
....: left_border=[1, 10, 100],
....: right_border=['', ' <', '']))
ab cde f
1⎛ 1 2│ 3⎞
10⎜ 4 5│ 6⎟ <
100⎝ 7 8│ 9⎠
*
ab cde f
1⎛ 1 2│ 3⎞
10⎜ 4 5│ 6⎟ <
100⎝ 7 8│ 9⎠
*
TESTS:
Expand Down Expand Up @@ -2003,10 +2003,10 @@ cdef class Matrix(sage.structure.element.Matrix):
sage: print(matrix(ZZ, 2, 4).str(
....: unicode=True,
....: top_border='abcd', bottom_border=range(4), left_border='uv'))
a b c d
u⎛0 0 0 0⎞
v⎝0 0 0 0⎠
0 1 2 3
a b c d
u⎛0 0 0 0⎞
v⎝0 0 0 0⎠
0 1 2 3
sage: print(matrix(ZZ, 2, 0).str(
....: top_border='', left_border='uv', right_border=['*', '']))
[]
Expand Down

0 comments on commit d45422e

Please sign in to comment.