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

Commit

Permalink
Update doctests for py3
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jul 28, 2020
1 parent ea74b6f commit d939b2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/structure/element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1602,15 +1602,15 @@ cdef class Element(SageObject):
sage: matmul(e, e)
Traceback (most recent call last):
...
TypeError: unsupported operand parent(s) for @: '<type 'sage.structure.parent.Parent'>' and '<type 'sage.structure.parent.Parent'>'
TypeError: unsupported operand parent(s) for @: '<sage.structure.parent.Parent object at ...>' and '<sage.structure.parent.Parent object at ...>'
sage: matmul(1, e)
Traceback (most recent call last):
...
TypeError: unsupported operand parent(s) for @: 'Integer Ring' and '<type 'sage.structure.parent.Parent'>'
TypeError: unsupported operand parent(s) for @: 'Integer Ring' and '<sage.structure.parent.Parent object at ...>'
sage: matmul(e, 1)
Traceback (most recent call last):
...
TypeError: unsupported operand parent(s) for @: '<type 'sage.structure.parent.Parent'>' and 'Integer Ring'
TypeError: unsupported operand parent(s) for @: '<sage.structure.parent.Parent object at ...>' and 'Integer Ring'
sage: matmul(int(1), e)
Traceback (most recent call last):
...
Expand Down

0 comments on commit d939b2c

Please sign in to comment.