#29514: Regression in get_default_timezone()
-------------------------------------+-------------------------------------
               Reporter:  Carlton    |          Owner:  Carlton Gibson
  Gibson                             |
                   Type:  Bug        |         Status:  assigned
              Component:  Utilities  |        Version:  2.1
               Severity:  Release    |       Keywords:
  blocker                            |
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 [https://github.com/encode/django-rest-framework/pull/6044 CI testing on
 Django REST Framework] revealed a change in behaviour in
 `timezone.get_default_timezone()`.

 The essence is:


 {{{
 with override_settings(USE_TZ=True, TIME_ZONE='UTC'):
     self.assertIs(timezone.get_default_timezone(), timezone.utc)
 }}}

 This passes fails 2.0.x and (currently) fails on 2.1/master.

 Regression in 27ca5ce19f5f184018a61611c1bc319113b1d107.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29514>
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/056.65b17e6db8d11cd19b689eb23157b514%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to