[Zope3-checkins] CVS: Zope3/src/zope/app/tests - test_datetimeparse.py:1.3
Tim Peters
tim.one@comcast.net
Wed, 8 Jan 2003 15:19:03 -0500
Update of /cvs-repository/Zope3/src/zope/app/tests
In directory cvs.zope.org:/tmp/cvs-serv7272/src/zope/app/tests
Modified Files:
test_datetimeparse.py
Log Message:
Collapsing datetime and datetimetz into datetime, and time and timetz
into time, as discussed on Zope3-Dev.
=== Zope3/src/zope/app/tests/test_datetimeparse.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/tests/test_datetimeparse.py:1.2 Wed Dec 25 09:13:26 2002
+++ Zope3/src/zope/app/tests/test_datetimeparse.py Wed Jan 8 15:18:31 2003
@@ -89,10 +89,10 @@
self.assertEqual(_tzoffset('EET', None), 2*60*60)
def testParseDatetimetz(self):
- from datetime import datetimetz
+ from datetime import datetime
from zope.app.datetimeutils import parseDatetimetz, tzinfo
self.assertEqual(parseDatetimetz('1999-12-31T01:02:03.037-00:30'),
- datetimetz(1999, 12, 31, 1, 2, 3, 37000, tzinfo(-30)))
+ datetime(1999, 12, 31, 1, 2, 3, 37000, tzinfo(-30)))
def test_suite():
loader=unittest.TestLoader()