[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#841400: ITP: fakesleep -- Fake version of time.sleep() for use in tests



Package: wnpp
Severity: wishlist
Owner: Free Ekanayaka <freee@debian.org>

* Package name    : fakesleep
  Version         : 0.1
  Upstream Author : Pete Fein <pete@wearpants.org>
* URL             : https://github.com/wearpants/fakesleep/
* License         : BSD
  Programming Lang: Python, etc.
  Description     : Fake version of time.sleep() for use in tests

fakesleep is a simple module for tests that use `time.sleep()`. Sleeping in
tests is generally considered bad (as it makes tests run slow). Using
sleep with `time.time()` can lead to spurious failures, as clock
precision / interpeter overhead can cause small differences in reported
times.

The package is a dependency of another forthcoming package (systemfixtures)
and will be maintained as part of the Python Modules team.


Reply to: