Ticket #10988: 10988-test_utils_timesince-r10665.patch

File 10988-test_utils_timesince-r10665.patch, 543 bytes (added by George Song, 15 years ago)

Patch to remove extra spaces in doctest

  • tests/regressiontests/utils/timesince.py

     
    9090# Timesince should work with both date objects (#9672)
    9191>>> today = datetime.date.today()
    9292>>> timeuntil(today+oneday, today)
    93 u'1 day' 
     93u'1 day'
    9494>>> timeuntil(today-oneday, today)
    95 u'0 minutes' 
     95u'0 minutes'
    9696>>> timeuntil(today+oneweek, today)
    97 u'1 week' 
     97u'1 week'
    9898"""
Back to Top