Update of /cvsroot/pywin32/pywin32/com/win32comext/axscript/test
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1302/com/win32comext/axscript/test
Modified Files:
Tag: py3k
leakTest.py testHost.py
Log Message:
Almost all files in py3k branch are now in py3k syntax - but work remains
Index: testHost.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32comext/axscript/test/testHost.py,v
retrieving revision 1.5.2.2
retrieving revision 1.5.2.3
diff -C2 -d -r1.5.2.2 -r1.5.2.3
*** testHost.py 26 Nov 2008 09:03:30 -0000 1.5.2.2
--- testHost.py 27 Nov 2008 04:58:41 -0000 1.5.2.3
***************
*** 148,152 ****
got_name = state_map.get(got, str(got))
state_name = state_map.get(state, str(state))
! raise RuntimeError, "Warning - engine %s has state %s, but expected %s" % (name, got_name, state_name)
class EngineTester(win32com.test.util.TestCase):
--- 148,152 ----
got_name = state_map.get(got, str(got))
state_name = state_map.get(state, str(state))
! raise RuntimeError("Warning - engine %s has state %s, but expected %s" % (name, got_name, state_name))
class EngineTester(win32com.test.util.TestCase):
Index: leakTest.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32comext/axscript/test/leakTest.py,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -C2 -d -r1.1.4.1 -r1.1.4.2
*** leakTest.py 26 Nov 2008 09:03:30 -0000 1.1.4.1
--- leakTest.py 27 Nov 2008 04:58:41 -0000 1.1.4.2
***************
*** 132,139 ****
return
if echoer.last != "Goober":
! print("***** Function call didnt set value correctly", `echoer.last`)
if str(ob.prop) != "Property Value":
! print("***** Property Value not correct - ", `ob.prop`)
ob.testcollection()
--- 132,139 ----
return
if echoer.last != "Goober":
! print("***** Function call didnt set value correctly", repr(echoer.last))
if str(ob.prop) != "Property Value":
! print("***** Property Value not correct - ", repr(ob.prop))
ob.testcollection()
|