[pywin32-checkins] pywin32/win32/test test_win32trace.py, 1.5, 1.6 testall.py, 1.7, 1.8
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-26 08:56:41
|
Update of /cvsroot/pywin32/pywin32/win32/test In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv19784/test Modified Files: test_win32trace.py testall.py Log Message: modernize syntax: all remaining raise statements in win32/* upgraded Index: testall.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/test/testall.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** testall.py 14 Nov 2008 00:22:25 -0000 1.7 --- testall.py 26 Nov 2008 08:56:33 -0000 1.8 *************** *** 34,38 **** if rc: base = os.path.basename(self.argv[1]) ! raise AssertionError, "%s failed with exit code %s. Output is:\n%s" % (base, rc, output) def get_demo_tests(): --- 34,38 ---- if rc: base = os.path.basename(self.argv[1]) ! raise AssertionError("%s failed with exit code %s. Output is:\n%s" % (base, rc, output)) def get_demo_tests(): Index: test_win32trace.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/test/test_win32trace.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** test_win32trace.py 6 Mar 2005 23:55:59 -0000 1.5 --- test_win32trace.py 26 Nov 2008 08:56:33 -0000 1.6 *************** *** 18,23 **** win32trace.TermRead() win32trace.TermWrite() ! raise RuntimeError, "An existing win32trace reader appears to be " \ ! "running - please stop this process and try again" class TestInitOps(unittest.TestCase): --- 18,23 ---- win32trace.TermRead() win32trace.TermWrite() ! raise RuntimeError("An existing win32trace reader appears to be " \ ! "running - please stop this process and try again") class TestInitOps(unittest.TestCase): |