[Python-checkins] python/dist/src/Lib/test test_datetime.py,1.24,1.25
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Fri, 10 Jan 2003 19:39:13 -0800
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv21453/python/Lib/test
Modified Files:
test_datetime.py
Log Message:
Got rid of the internal datetimetz type.
Index: test_datetime.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_datetime.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** test_datetime.py 10 Jan 2003 03:49:02 -0000 1.24
--- test_datetime.py 11 Jan 2003 03:39:11 -0000 1.25
***************
*** 2077,2081 ****
orig = self.theclass(*args, **{'tzinfo': tinfo})
state = orig.__getstate__()
! derived = self.theclass(1, 1, 1)
derived.__setstate__(state)
self.assertEqual(orig, derived)
--- 2077,2081 ----
orig = self.theclass(*args, **{'tzinfo': tinfo})
state = orig.__getstate__()
! derived = self.theclass(1, 1, 1, tzinfo=FixedOffset(0, "", 0))
derived.__setstate__(state)
self.assertEqual(orig, derived)