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/util.py: support macOS if psutil is installed
If psutil is installed (it usually will be, because ipython uses it), we can use it to compute the cputime used by pexpect processes on macOS. This is of course guarded by a try/except clause, and may not always work, but is better than giving up immediately on macOS.
- Loading branch information