]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
fix doctests, the return value is unicode 20/head
authorAlex Morega <alex@grep.ro>
Sat, 6 Jul 2013 15:18:48 +0000 (17:18 +0200)
committerAlex Morega <alex@grep.ro>
Sat, 6 Jul 2013 15:18:48 +0000 (17:18 +0200)
babel/core.py

index 87e4921731f9f4a917ee0265b00fbdae8d824db7..5b02a1b7bb69643ec33e74e191f45abc19192eeb 100644 (file)
@@ -31,9 +31,9 @@ def get_global(key):
     information independent of individual locales.
 
     >>> get_global('zone_aliases')['UTC']
-    'Etc/GMT'
+    u'Etc/GMT'
     >>> get_global('zone_territories')['Europe/Berlin']
-    'DE'
+    u'DE'
 
     :param key: the data key
     :return: the dictionary found in the global data under the given key