Kaydet (Commit) f8915c06 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Removed a datetime test in tests/defaultfilters -- it was failing because it's…

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
üst c2b60ce1
......@@ -237,10 +237,6 @@ False
>>> timesince(datetime.datetime.now() - datetime.timedelta(1))
'1 day'
# datetime.date compataibility with timesince
>>> timesince(datetime.date.today() - datetime.timedelta(1))
'1 day, 23 hours'
>>> default("val", "default")
'val'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment