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

Commit

Permalink
Trac #27439: Fix bounded_integer_sequences.pyx...
Browse files Browse the repository at this point in the history
... doctests for python3.
  • Loading branch information
Vincent Klein committed Mar 7, 2019
1 parent c59b688 commit 593cb51
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sage/data_structures/bounded_integer_sequences.pyx
Expand Up @@ -677,7 +677,7 @@ cdef class BoundedIntegerSequence:
sage: BoundedIntegerSequence(2^64+1, L)
Traceback (most recent call last):
...
OverflowError: long int too large to convert
OverflowError: ... int too large to convert...
We are testing the corner case of the maximal possible bound::
Expand All @@ -690,7 +690,7 @@ cdef class BoundedIntegerSequence:
sage: BoundedIntegerSequence(100, [2^256])
Traceback (most recent call last):
...
OverflowError: long int too large to convert
OverflowError: ... int too large to convert...
sage: BoundedIntegerSequence(100, [100])
Traceback (most recent call last):
...
Expand All @@ -701,7 +701,7 @@ cdef class BoundedIntegerSequence:
sage: BoundedIntegerSequence(2^256, [200])
Traceback (most recent call last):
...
OverflowError: long int too large to convert
OverflowError: ... int too large to convert...
"""
if bound <= 0:
Expand Down Expand Up @@ -886,7 +886,7 @@ cdef class BoundedIntegerSequence:
sage: S[2^63]
Traceback (most recent call last):
...
OverflowError: long int too large to convert to int
OverflowError: ... int too large to convert to ...
::
Expand Down

0 comments on commit 593cb51

Please sign in to comment.