Skip to content

Commit 8820ec5

Browse files
author
Richard Jones
committed
Fixed bug in unit test ;)
1 parent 6632aea commit 8820ec5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/test_dates.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: test_dates.py,v 1.3 2001-07-29 07:01:39 richard Exp $
1+
# $Id: test_dates.py,v 1.4 2001-07-29 23:32:13 richard Exp $
22

33
import unittest, time
44

@@ -55,7 +55,7 @@ def testInterval(self):
5555
ae(str(Interval('3y')), '+ 3y')
5656
ae(str(Interval('2 y 1 m')), '+ 2y 1m')
5757
ae(str(Interval('1m 25d')), '+ 1m 25d')
58-
ae(str(Interval('-2w 3 d ')), '- 1 7d')
58+
ae(str(Interval('-2w 3 d ')), '- 17d')
5959
ae(str(Interval(' - 1 d 2:50 ')), '- 1d 2:50')
6060
ae(str(Interval(' 14:00 ')), '+ 14:00')
6161
ae(str(Interval(' 0:04:33 ')), '+ 0:04:33')
@@ -66,6 +66,9 @@ def suite():
6666

6767
#
6868
# $Log: not supported by cvs2svn $
69+
# Revision 1.3 2001/07/29 07:01:39 richard
70+
# Added vim command to all source so that we don't get no steenkin' tabs :)
71+
#
6972
# Revision 1.2 2001/07/29 06:42:20 richard
7073
# Added Interval tests.
7174
#

0 commit comments

Comments
 (0)