Ticket #10988: 10988-test_utils_timesince-r10665.patch
File 10988-test_utils_timesince-r10665.patch, 543 bytes (added by , 16 years ago) |
---|
-
tests/regressiontests/utils/timesince.py
90 90 # Timesince should work with both date objects (#9672) 91 91 >>> today = datetime.date.today() 92 92 >>> timeuntil(today+oneday, today) 93 u'1 day' 93 u'1 day' 94 94 >>> timeuntil(today-oneday, today) 95 u'0 minutes' 95 u'0 minutes' 96 96 >>> timeuntil(today+oneweek, today) 97 u'1 week' 97 u'1 week' 98 98 """