[pywin32-checkins] pywin32/com/win32com/test util.py,1.5,1.6
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
|
From: Mark H. <mha...@us...> - 2004-10-11 06:45:50
|
Update of /cvsroot/pywin32/pywin32/com/win32com/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31342 Modified Files: util.py Log Message: Avoid 2.3isms in the test suite utilities Index: util.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/test/util.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** util.py 4 May 2004 06:58:47 -0000 1.5 --- util.py 11 Oct 2004 06:45:38 -0000 1.6 *************** *** 36,40 **** cmd = cmd + ' > "%s" 2>&1' % output_name rc = os.system(cmd) ! output = open(output_name, "U").read().strip() class Failed(Exception): pass try: --- 36,40 ---- cmd = cmd + ' > "%s" 2>&1' % output_name rc = os.system(cmd) ! output = open(output_name, "r").read().strip() class Failed(Exception): pass try: |