Skip to content

Commit c8d4d12

Browse files
committed
add extra tolerance
1 parent 7888c42 commit c8d4d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/doctest/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ def ensure_interruptible_after(seconds: float, max_wait_after_interrupt: float =
801801
....: check_interrupt_only_occasionally()
802802
Traceback (most recent call last):
803803
...
804-
RuntimeError: Function is not interruptible within 1.0000 seconds, only after 1.60... seconds
804+
RuntimeError: Function is not interruptible within 1.0000 seconds, only after 1.6... seconds
805805
sage: with ensure_interruptible_after(1, max_wait_after_interrupt=0.9):
806806
....: check_interrupt_only_occasionally()
807807

0 commit comments

Comments
 (0)