# HG changeset patch # User jruigrok # Date 1205938987 0 # Node ID 7bd832463dd2265448504ea15296ed32cff67271 # Parent e2c0e624c85b73a23182cc1fef6857582d708c60 Replace Europe/Paris with Universal. The doctest was, and still is, not respecting local clock changes for summer/winter time, which cause the test to fail for half of the year. diff --git a/babel/dates.py b/babel/dates.py --- a/babel/dates.py +++ b/babel/dates.py @@ -521,9 +521,9 @@ >>> from pytz import timezone >>> t = time(15, 30) - >>> format_time(t, format='full', tzinfo=timezone('Europe/Paris'), + >>> format_time(t, format='full', tzinfo=timezone('Universal'), ... locale='fr_FR') - u'17:30:00 HEC' + u'15:30:00 Monde (GMT)' >>> format_time(t, "hh 'o''clock' a, zzzz", tzinfo=timezone('US/Eastern'), ... locale='en') u"11 o'clock AM, Eastern Daylight Time"