mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Use freezegun for time mocking instead of manually patching the datetime module, as it provides a more streamlined solution that works both on CPython and on PyPy. Unfortunately, due to differences between the C datetime extension used by CPython, and the pure Python version of datetime (used by PyPy, and as a fallback on CPython), there does not seem to be a trivial way to mock time that would work with both versions. Fixes #2708 Signed-off-by: Michał Górny <mgorny@gentoo.org> |
||
|---|---|---|
| .. | ||
| build.txt | ||
| dev.txt | ||
| docs.txt | ||
| lint.txt | ||
| main.txt | ||
| pinned.txt | ||
| test.txt | ||