[pywin32-checkins] pywin32/com/win32com/test testExplorer.py,1.5,1.6
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2006-01-10 06:32:25
|
Update of /cvsroot/pywin32/pywin32/com/win32com/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv788 Modified Files: testExplorer.py Log Message: Ignore exceptions shutting down explorer - it just means the user already did Index: testExplorer.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/test/testExplorer.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** testExplorer.py 1 Mar 2003 00:14:01 -0000 1.5 --- testExplorer.py 10 Jan 2006 06:32:18 -0000 1.6 *************** *** 50,54 **** # iexplore.Navigate(win32api.GetFullPathName(fname)) win32api.Sleep(4000) ! iexplore.Quit() def TestAll(): --- 50,58 ---- # iexplore.Navigate(win32api.GetFullPathName(fname)) win32api.Sleep(4000) ! try: ! iexplore.Quit() ! except (AttributeError, pythoncom.com_error): ! # User got sick of waiting :) ! pass def TestAll(): |