

def test_both_date_objects(self):
    ' Timesince should work with both date objects (#9672) '
    today = datetime.date.today()
    self.assertEquals(timeuntil((today + self.oneday), today), '1 day')
    self.assertEquals(timeuntil((today - self.oneday), today), '0 minutes')
    self.assertEquals(timeuntil((today + today.oneweek), today), '1 week')

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/utils/timesince.py TimesinceTests.test_both_date_objects/VarMisuse@71/115 `self`->`today`