[pywin32-checkins] pywin32/com/win32com/test testall.py,1.27,1.28
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-11 01:01:49
|
Update of /cvsroot/pywin32/pywin32/com/win32com/test In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv24525 Modified Files: testall.py Log Message: _exc_info_to_string changed signature; use traceback.format_exception_only instead Index: testall.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/test/testall.py,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** testall.py 7 May 2007 02:40:37 -0000 1.27 --- testall.py 11 Nov 2008 01:01:44 -0000 1.28 *************** *** 207,211 **** testResult.stream.writeln("*** The following test modules could not be imported ***") for mod_name, (exc_type, exc_val) in import_failures: ! desc = testResult._exc_info_to_string( (exc_type, exc_val, None) ) testResult.stream.write("%s: %s" % (mod_name, desc)) testResult.stream.writeln("*** %d test(s) could not be run ***" % len(import_failures)) --- 207,211 ---- testResult.stream.writeln("*** The following test modules could not be imported ***") for mod_name, (exc_type, exc_val) in import_failures: ! desc = '\n'.join(traceback.format_exception_only(exc_type, exc_val)) testResult.stream.write("%s: %s" % (mod_name, desc)) testResult.stream.writeln("*** %d test(s) could not be run ***" % len(import_failures)) |