About Anaconda Help Download Anaconda

sfe1ed40 / packages / time-machine 2.13.0

Travel through time in your tests.

Installers

  • linux-s390x v2.13.0
  • linux-64 v2.13.0
  • linux-aarch64 v2.13.0
  • osx-arm64 v2.13.0
  • osx-64 v2.13.0
  • win-64 v2.13.0

conda install

To install this package run one of the following:
conda install sfe1ed40::time-machine

Description

time-machine is intended to combine the advantages of freezegun and libfaketime. It works without LD_PRELOAD but still mocks the standard library functions everywhere they may be referenced. It does so by modifying the built-in functions at the C level, to point them through wrappers that return different values when mocking. Normally in Python, built-in functions are immutable, but time-machine overcomes this by using C code to replace their function pointers.


© 2025 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy