mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
177a49e79c
There are 8 cache backends to test and each test of touch() takes ~7s → ~56s. This seems excessive and it feels like we should be able to reduce this significantly. time.sleep() accepts floating point values and is guaranteed to sleep for at least the number of seconds specified as of Python 3.5. We do run the risk that there may be spurious test failures from this, but that already seemed to be the case anyway. |
||
---|---|---|
.. | ||
__init__.py | ||
closeable_cache.py | ||
liberal_backend.py | ||
models.py | ||
tests.py |