Update of /cvsroot/pywin32/pywin32/com/win32com/test
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv24858/test
Modified Files:
Tag: py3k
testall.py util.py
Log Message:
merge trunk changes
Index: testall.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/test/testall.py,v
retrieving revision 1.27
retrieving revision 1.27.2.1
diff -C2 -d -r1.27 -r1.27.2.1
*** testall.py 7 May 2007 02:40:37 -0000 1.27
--- testall.py 11 Nov 2008 01:04:19 -0000 1.27.2.1
***************
*** 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))
Index: util.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/test/util.py,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -C2 -d -r1.9 -r1.9.2.1
*** util.py 31 Aug 2007 02:08:14 -0000 1.9
--- util.py 11 Nov 2008 01:04:19 -0000 1.9.2.1
***************
*** 23,27 ****
def RegisterPythonServer(filename, verbose=0):
! cmd = '%s "%s" > nul 2>&1' % (win32api.GetModuleFileName(0), filename)
if verbose:
print "Registering engine", filename
--- 23,27 ----
def RegisterPythonServer(filename, verbose=0):
! cmd = '%s "%s" --unattended > nul 2>&1' % (win32api.GetModuleFileName(0), filename)
if verbose:
print "Registering engine", filename
|