[pywin32-checkins] pywin32/win32/test test_pywintypes.py,1.8,1.9
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-03-17 05:03:05
|
Update of /cvsroot/pywin32/pywin32/win32/test In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2452/test Modified Files: test_pywintypes.py Log Message: fix and test for failure comparing PyTime to None etc Index: test_pywintypes.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/test/test_pywintypes.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** test_pywintypes.py 4 Feb 2009 04:07:54 -0000 1.8 --- test_pywintypes.py 17 Mar 2009 04:32:48 -0000 1.9 *************** *** 49,52 **** --- 49,57 ---- self.failUnless(t2 > t1 ) + def testPyTimeCompareOther(self): + t1 = pywintypes.Time(100) + t2 = None + self.failIfEqual(t1, t2) + def testTimeTuple(self): now = datetime.datetime.now() # has usec... |