#23792: Create contextmanager to freeze time.time() in tests
--------------------------------------+------------------------------------
Reporter: tchaumeny | Owner: nobody
Type: Cleanup/optimization | Status: closed
Component: Testing framework | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"994d6137a2519436d17d5b3d16cb49a3fa79f93e"]:
{{{
#!CommitTicketReference repository=""
revision="994d6137a2519436d17d5b3d16cb49a3fa79f93e"
Fixed #23792 -- Added test.utils.freeze_time() context manager.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23792#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.5a2ec36b9f0fd752b84ee3fe740a444e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.