Mercurial > p > roundup > code
changeset 134:d3ffcf862fb7
Fixed bug in unit test ;)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 29 Jul 2001 23:32:13 +0000 |
| parents | 4377732e04bb |
| children | 79bc5f0a0dde |
| files | test/test_dates.py |
| diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/test_dates.py Sun Jul 29 09:43:46 2001 +0000 +++ b/test/test_dates.py Sun Jul 29 23:32:13 2001 +0000 @@ -1,4 +1,4 @@ -# $Id: test_dates.py,v 1.3 2001-07-29 07:01:39 richard Exp $ +# $Id: test_dates.py,v 1.4 2001-07-29 23:32:13 richard Exp $ import unittest, time @@ -55,7 +55,7 @@ ae(str(Interval('3y')), '+ 3y') ae(str(Interval('2 y 1 m')), '+ 2y 1m') ae(str(Interval('1m 25d')), '+ 1m 25d') - ae(str(Interval('-2w 3 d ')), '- 1 7d') + ae(str(Interval('-2w 3 d ')), '- 17d') ae(str(Interval(' - 1 d 2:50 ')), '- 1d 2:50') ae(str(Interval(' 14:00 ')), '+ 14:00') ae(str(Interval(' 0:04:33 ')), '+ 0:04:33') @@ -66,6 +66,9 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.3 2001/07/29 07:01:39 richard +# Added vim command to all source so that we don't get no steenkin' tabs :) +# # Revision 1.2 2001/07/29 06:42:20 richard # Added Interval tests. #
