Commits

Pedro Romano committed c860298 Draft

Correct doctest for 'get_timezone_location' which was calling 'get_timezone_name'.

Comments (0)

Files changed (1)

     timezone, just the localized country name is returned:
     
     >>> tz = timezone('Europe/Berlin')
-    >>> get_timezone_name(tz, locale='de_DE') == 'Deutschland'
+    >>> get_timezone_location(tz, locale='de_DE') == 'Deutschland'
     True
     
     :param dt_or_tzinfo: the ``datetime`` or ``tzinfo`` object that determines