[pywin32-checkins] pywin32/win32/Lib win32timezone.py,1.8,1.9
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-04-11 03:15:12
|
Update of /cvsroot/pywin32/pywin32/win32/Lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18563 Modified Files: win32timezone.py Log Message: py2.6 datetime timetuple methods no longer return a true tuple, so update the doctests accordingly. Index: win32timezone.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/Lib/win32timezone.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** win32timezone.py 14 Jan 2008 07:41:15 -0000 1.8 --- win32timezone.py 11 Apr 2008 03:15:15 -0000 1.9 *************** *** 41,48 **** >>> aug2 = datetime.datetime( 2003, 8, 2, tzinfo = tzi ) ! >>> aug2.utctimetuple() (2003, 8, 2, 6, 0, 0, 5, 214, 0) >>> nov2 = datetime.datetime( 2003, 11, 25, tzinfo = tzi ) ! >>> nov2.utctimetuple() (2003, 11, 25, 7, 0, 0, 1, 329, 0) --- 41,48 ---- >>> aug2 = datetime.datetime( 2003, 8, 2, tzinfo = tzi ) ! >>> tuple(aug2.utctimetuple()) (2003, 8, 2, 6, 0, 0, 5, 214, 0) >>> nov2 = datetime.datetime( 2003, 11, 25, tzinfo = tzi ) ! >>> tuple(nov2.utctimetuple()) (2003, 11, 25, 7, 0, 0, 1, 329, 0) |