[pywin32-checkins] pywin32/com/win32com/test testall.py,1.24,1.25
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
|
From: Mark H. <mha...@us...> - 2004-10-11 06:46:29
|
Update of /cvsroot/pywin32/pywin32/com/win32com/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31412 Modified Files: testall.py Log Message: Don't try and invoke python_d - it may exist, but may not have win32all setup for it. Index: testall.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/test/testall.py,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** testall.py 4 May 2004 06:59:15 -0000 1.24 --- testall.py 11 Oct 2004 06:46:14 -0000 1.25 *************** *** 66,75 **** class PippoTest(TestCase): def testit(self): ! # Execute pippo via python_d, so it can refcount check. ! exe_dir = os.path.dirname(sys.executable) ! python = os.path.join(exe_dir, "python_d.exe") ! if not os.path.isfile(python): ! print "Can't find python_d (but pippo would prefer it!)" ! python = sys.executable fname = os.path.join(os.path.dirname(this_file), "testPippo.py") cmd = '%s "%s" 2>&1' % (python, fname) --- 66,70 ---- class PippoTest(TestCase): def testit(self): ! python = sys.executable fname = os.path.join(os.path.dirname(this_file), "testPippo.py") cmd = '%s "%s" 2>&1' % (python, fname) |