Fixed #13698 -- Removed trailing whitespace from regressiontests/utils/timesince. Officially, I'm doing this because trailing whitespace is bad, but apparently it also causes test failures for some people (for reasons we can't narrow down), so there's a double win.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4290b0d26a
commit
be63b3ca54
|
@ -88,11 +88,11 @@ u'0 minutes'
|
||||||
u'0 minutes'
|
u'0 minutes'
|
||||||
|
|
||||||
# Timesince should work with both date objects (#9672)
|
# Timesince should work with both date objects (#9672)
|
||||||
>>> today = datetime.date.today()
|
>>> today = datetime.date.today()
|
||||||
>>> timeuntil(today+oneday, today)
|
>>> timeuntil(today+oneday, today)
|
||||||
u'1 day'
|
u'1 day'
|
||||||
>>> timeuntil(today-oneday, today)
|
>>> timeuntil(today-oneday, today)
|
||||||
u'0 minutes'
|
u'0 minutes'
|
||||||
>>> timeuntil(today+oneweek, today)
|
>>> timeuntil(today+oneweek, today)
|
||||||
u'1 week'
|
u'1 week'
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue