From c0198433010ee58610dd8f1ce926feac3743946a Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 21 Sep 2023 20:35:34 -0400 Subject: [PATCH] src/sage/doctest/control.py: update _init_warn_long() docstring Now that the --warn-long defaults are 5.0 and 30.0 seconds for regular and long tests respectively, we update the _init_warn_long() docstring to reflect that. --- src/sage/doctest/control.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sage/doctest/control.py b/src/sage/doctest/control.py index ec1f6fe0650..9513e146e88 100644 --- a/src/sage/doctest/control.py +++ b/src/sage/doctest/control.py @@ -582,8 +582,8 @@ def _init_warn_long(self): finish in less than about 5 seconds. Longer tests typically don't add coverage, they just make testing slow. - The default used here is 10 seconds, unless `--long` was used, - in which case it is 60 seconds. + The default used here is 5 seconds, unless `--long` was used, + in which case it is 30 seconds. TESTS: