time#
Python time wrapper functions.
These function help to make time dependent modules testable.
Module Contents#
Functions#
|
Return the time in seconds since the epoch as a floating point number. |
|
Delay execution for a given number of seconds. |
- get_time() float [source]#
Return the time in seconds since the epoch as a floating point number.
Acts as a wrapper around
time.time()
in order to make it testable. Mocking time.time() can conflicts with the internal python ticker thread.- Returns:
Time since epoch