`setup_databases()` is used by 3rd party tools. As well, the signature is
documented:
https://docs.djangoproject.com/en/3.1/topics/testing/advanced/#django.test.utils.setup_databases
For backwards compatibility, make the new argument optional. If not
provided, a `NullTimeKeeper` can be instantiated so no other None-checks
will be required deeper in the stack.
--
Ticket URL: <https://code.djangoproject.com/ticket/31979>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* has_patch: 0 => 1
Comment:
https://github.com/django/django/pull/13381
--
Ticket URL: <https://code.djangoproject.com/ticket/31979#comment:1>
* cc: Ahmad A. Hussein (added)
* owner: nobody => Jon Dufresne
* status: new => assigned
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/31979#comment:2>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"0b8871ab6744285943784795ede053839ee009ef" 0b8871a]:
{{{
#!CommitTicketReference repository=""
revision="0b8871ab6744285943784795ede053839ee009ef"
Fixed #31979 -- Made django.test.utils.setup_databases()'s time_keeper
argument optional.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31979#comment:3>