#31979: Make new setup_databases() argument time_keeper optional
------------------------------------------------+------------------------
               Reporter:  Jon Dufresne          |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Testing framework     |        Version:  master
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 The argument was added in commit 61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915
 as work on ticket #31811.

 `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.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.f2c7991da61d302f66220a3b9bbd2202%40djangoproject.com.

Reply via email to