Issue #27125: Remove duplicated words in exception message

This commit is contained in:
Martin Panter 2016-05-30 04:08:23 +00:00
parent e514093a2f
commit dd780e4423
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ def _check_utc_offset(name, offset):
raise ValueError("tzinfo.%s() must return a whole number "
"of minutes, got %s" % (name, offset))
if not -timedelta(1) < offset < timedelta(1):
raise ValueError("%s()=%s, must be must be strictly between "
raise ValueError("%s()=%s, must be strictly between "
"-timedelta(hours=24) and timedelta(hours=24)" %
(name, offset))