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

Commit

Permalink
Fix doctests for changed exception type
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Jul 15, 2016
1 parent 1d53754 commit aca3398
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sage/rings/integer.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2929,7 +2929,7 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
sage: a % b
Traceback (most recent call last):
...
ZeroDivisionError: reduction modulo 100 not defined
ArithmeticError: reduction modulo 100 not defined
"""
cdef Integer z
cdef long yy, res
Expand Down
2 changes: 1 addition & 1 deletion src/sage/structure/element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2267,7 +2267,7 @@ cdef class CommutativeRingElement(RingElement):
sage: R(120).divides(R(121))
Traceback (most recent call last):
...
ZeroDivisionError: reduction modulo 120 not defined
ArithmeticError: reduction modulo 120 not defined
If ``x`` has different parent than ``self``, they are first coerced to a
common parent if possible. If this coercion fails, it returns a
Expand Down

0 comments on commit aca3398

Please sign in to comment.