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

Commit

Permalink
Make interfaces doctests ready for random seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed Jan 24, 2021
1 parent 13b4090 commit fd09637
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/sage/interfaces/singular.py
Original file line number Diff line number Diff line change
Expand Up @@ -1955,18 +1955,16 @@ def _sage_(self, R=None):
sage: A.sage(ZZ) # indirect doctest
[0 0]
[0 0]
sage: A = random_matrix(ZZ,3,3); A
sage: A = random_matrix(ZZ,3,3); A # random
[ -8 2 0]
[ 0 1 -1]
[ 2 1 -95]
sage: As = singular(A); As
sage: As = singular(A); As # random
-8 2 0
0 1 -1
2 1 -95
sage: As.sage()
[ -8 2 0]
[ 0 1 -1]
[ 2 1 -95]
sage: As.sage() == A
True
::
Expand Down

0 comments on commit fd09637

Please sign in to comment.