[Checkins] SVN: DateTime/trunk/src/DateTime/tests/testDateTime.py adjust my failing test from r109667 to pass according to current behavior. it seems the behavior in Zope 2.10 was incorrect, as per https://mail.zope.org/pipermail/zope-dev/2007-October/030042.html
David Glick
davidglick at onenw.org
Fri Mar 5 12:04:10 EST 2010
Log message for revision 109685:
adjust my failing test from r109667 to pass according to current behavior. it seems the behavior in Zope 2.10 was incorrect, as per https://mail.zope.org/pipermail/zope-dev/2007-October/030042.html
Changed:
U DateTime/trunk/src/DateTime/tests/testDateTime.py
-=-
Modified: DateTime/trunk/src/DateTime/tests/testDateTime.py
===================================================================
--- DateTime/trunk/src/DateTime/tests/testDateTime.py 2010-03-05 16:46:58 UTC (rev 109684)
+++ DateTime/trunk/src/DateTime/tests/testDateTime.py 2010-03-05 17:04:10 UTC (rev 109685)
@@ -332,7 +332,6 @@
ref2 = DateTime('2006/11/6 10:30 GMT')
ref3 = DateTime('2004/06/14 14:30:15 GMT-3')
ref4 = DateTime('2006/01/01 GMT')
- ref5 = DateTime('2006/01/01')
# Basic tests
# Though this is timezone naive and according to specification should
@@ -432,7 +431,7 @@
# ISO format with no timezone
isoDt = DateTime('2006-01-01 00:00:00')
- self.assertEqual(ref5, isoDt)
+ self.assertEqual(ref4, isoDt)
def testJulianWeek(self):
# Check JulianDayWeek function
More information about the checkins
mailing list