# HG changeset patch # User jruigrok # Date 1205938987 0 # Node ID b4b72e7ca6384e10b4ede899c61ecebba6a95125 # Parent 6e4d20dbf189c6e0f420c27afc44a7e3954cd1b1 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"