Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #13698 -- Removed trailing whitespace from regressiontests/util…

…s/timesince. Officially, I'm doing this because trailing whitespace is bad, but apparently it also causes test failures for some people (for reasons we can't narrow down), so there's a double win.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit be63b3ca548ae2093b698a27f95fe7eb296e5498 1 parent 4290b0d
Russell Keith-Magee authored June 05, 2010

Showing 1 changed file with 7 additions and 7 deletions. Show diff stats Hide diff stats

  1. 14  tests/regressiontests/utils/timesince.py
14  tests/regressiontests/utils/timesince.py
@@ -88,11 +88,11 @@
88 88
 u'0 minutes'
89 89
 
90 90
 # Timesince should work with both date objects (#9672)
91  
->>> today = datetime.date.today() 
92  
->>> timeuntil(today+oneday, today) 
93  
-u'1 day' 
94  
->>> timeuntil(today-oneday, today) 
95  
-u'0 minutes' 
96  
->>> timeuntil(today+oneweek, today) 
97  
-u'1 week' 
  91
+>>> today = datetime.date.today()
  92
+>>> timeuntil(today+oneday, today)
  93
+u'1 day'
  94
+>>> timeuntil(today-oneday, today)
  95
+u'0 minutes'
  96
+>>> timeuntil(today+oneweek, today)
  97
+u'1 week'
98 98
 """

0 notes on commit be63b3c

Please sign in to comment.
Something went wrong with that request. Please try again.