def test_both_date_objects(self):
        today = datetime.date.today()
        self.assertEquals(timeuntil(today+self.oneday, today), u'1 day')
        self.assertEquals(timeuntil(today-self.oneday, today), u'0 minutes')
        self.assertEquals(timeuntil(today+self.oneweek, today), u'1 week')
Timesince should work with both date objects (#9672)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/utils/timesince.py/TimesinceTests.test_both_date_objects