ctest_sleep
-----------

Sleep for some amount of time.

.. signature::
  ctest_sleep(<seconds>)

  Sleep for ``<seconds>`` seconds.

.. signature::
  ctest_sleep(<time1> <duration> <time2>)

  Sleep for ``<time1> + <duration> - <time2>`` seconds, if this sum is greater
  than zero.
