changeset 326:d1ed9ad945b8

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.
author jruigrok
date Wed, 19 Mar 2008 15:03:07 +0000
parents 9fe7e31f857d
children 94507c5de7d5
files babel/dates.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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"
Copyright (C) 2012-2017 Edgewall Software