forked from sagemath/sage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/sage/doctest/forker.py: report both cpu/wall times for long tests
We need to report the CPU time for tests that run afoul of --warn-long, because --warn-long is now specified in CPU time. But, we are still reporting the wall time in several places, such as the per-file summary. So to keep things as consistent as possible, we should report the wall time for --warn-long failures as well. This changes the output of a too-long test from e.g. Test ran for 1.23 cpu seconds, check ran for 2.34 cpu seconds to, Test ran for 1.23s cpu, 2.50s wall Check ran for 2.34s cpu, 3.12s wall Issue: sagemathGH-32981
- Loading branch information
Showing
1 changed file
with
36 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters