[pywin32-checkins] pywin32/com/win32comext/axscript/test testHost.py, 1.6, 1.7
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-26 08:52:36
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/axscript/test In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv19471/win32comext/axscript/test Modified Files: testHost.py Log Message: modernize syntax: all remaining raise statements in com/* upgraded Index: testHost.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/axscript/test/testHost.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** testHost.py 26 Nov 2008 01:14:40 -0000 1.6 --- testHost.py 26 Nov 2008 08:52:32 -0000 1.7 *************** *** 151,155 **** 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): --- 151,155 ---- 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): |