Issue #729
Updated by cduryee about 9 years ago
In TestScheduledCallCalculateTimes, there are two tests that rely on the test taking less than 1 second to run: test_now and test_first_run_now. These tests will randomly fail if the test runner is slow.
These two tests should use freezegun[1] to ensure time.time() returns the expected result.
https://pypi.python.org/pypi/freezegun
update: there are some other places that could use freezegun as well. You can find them by running:
<pre><code class="text">
git grep "assert.*time.*<"
</code></pre>