Contents

freezegun 1.5.1

0

Let your Python tests travel through time

Let your Python tests travel through time

Stars: 4152, Watchers: 4152, Forks: 269, Open Issues: 142

The spulec/freezegun repo was created 11 years ago and the last code push was 2 months ago.
The project is very popular with an impressive 4152 github stars!

How to Install freezegun

You can install freezegun using pip

pip install freezegun

or add it to a project with poetry

poetry add freezegun

Package Details

Author
Steve Pulec
License
Apache 2.0
Homepage
https://github.com/spulec/freezegun
PyPi:
https://pypi.org/project/freezegun/
Documentation:
https://github.com/spulec/freezegun/blob/master/README.rst
GitHub Repo:
https://github.com/spulec/freezegun

Classifiers

No  freezegun  pypi packages just yet.

Errors

A list of common freezegun errors.

Code Examples

Here are some freezegun code examples and snippets.

GitHub Issues

The freezegun package has 142 open issues on GitHub

  • freezegun date is returned in a different container when using docker-compose
  • as_kwarg is recognized as unexpected argument by PyCharm and SonarQube
  • Behavior does not match expectations
  • calling (and awaiting) asyncio.sleep seems to cause an infinite hang on 1.1.0
  • 1.1.0 + master: pep517 build produces UNKNOWN-0.0.0-py3-none-any.whl
  • 1.1.0: pytest is failing with new setuptools
  • Failed processing pyformat-parameters; Python 'fakedatetime' cannot be converted to a MySQL type
  • updating from v1.0.0 to v1.1.0 causing odd issues

See more issues on GitHub