#23756: Fall DST change breaks timezone.py make_aware
---------------------------+------------------------------------
     Reporter:  mdineen    |                    Owner:  nobody
         Type:  Bug        |                   Status:  new
    Component:  Utilities  |                  Version:  1.7
     Severity:  Normal     |               Resolution:
     Keywords:             |             Triage Stage:  Accepted
    Has patch:  0          |      Needs documentation:  0
  Needs tests:  0          |  Patch needs improvement:  0
Easy pickings:  0          |                    UI/UX:  0
---------------------------+------------------------------------
Changes (by timgraham):

 * needs_docs:   => 0
 * needs_better_patch:   => 0
 * easy:  1 => 0
 * needs_tests:   => 0
 * stage:  Unreviewed => Accepted


Comment:

 There were many failures on Jenkins on November 2, e.g.
 {{{
 ======================================================================
 ERROR [0.003s]: test_different_timezones
 (utils_tests.test_timesince.TimesinceTests)
 When using two different timezones.
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/jenkins/workspace/django-
 coverage/tests/utils_tests/test_timesince.py", line 101, in
 test_different_timezones
     now_tz = timezone.make_aware(now, timezone.get_default_timezone())
   File "/home/jenkins/workspace/django-coverage/django/utils/timezone.py",
 line 361, in make_aware
     return timezone.localize(value, is_dst=None)
   File "/home/jenkins/workspace/django-
 coverage/tests/.env/local/lib/python2.7/site-packages/pytz/tzinfo.py",
 line 349, in localize
     raise AmbiguousTimeError(dt)
 AmbiguousTimeError: 2014-11-02 01:59:24.072611
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23756#comment:1>
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/065.f7e556f5d47b5e82a6a41ece31ad9f25%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to