mirror of https://github.com/django/django.git
Removed a datetime test in tests/defaultfilters -- it was failing because it's hard to test datetime-related stuff
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2389 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c2b60ce136
commit
f8915c0676
|
@ -237,10 +237,6 @@ False
|
||||||
>>> timesince(datetime.datetime.now() - datetime.timedelta(1))
|
>>> timesince(datetime.datetime.now() - datetime.timedelta(1))
|
||||||
'1 day'
|
'1 day'
|
||||||
|
|
||||||
# datetime.date compataibility with timesince
|
|
||||||
>>> timesince(datetime.date.today() - datetime.timedelta(1))
|
|
||||||
'1 day, 23 hours'
|
|
||||||
|
|
||||||
>>> default("val", "default")
|
>>> default("val", "default")
|
||||||
'val'
|
'val'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue