mailr21187 - /trunk/test_suite/clean_up.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 18, 2013 - 20:12:
Author: bugman
Date: Fri Oct 18 20:12:35 2013
New Revision: 21187

URL: http://svn.gna.org/viewcvs/relax?rev=21187&view=rev
Log:
The test_suite.clean_up.deletion() function can now handle the case of 
missing files and directories.

This problem was occurring in the relax_disp branch for some of the system 
tests.


Modified:
    trunk/test_suite/clean_up.py

Modified: trunk/test_suite/clean_up.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/clean_up.py?rev=21187&r1=21186&r2=21187&view=diff
==============================================================================
--- trunk/test_suite/clean_up.py (original)
+++ trunk/test_suite/clean_up.py Fri Oct 18 20:12:35 2013
@@ -73,3 +73,7 @@
                 delete(var, fail=False)
         finally:
             del var
+
+    # Already deleted.
+    except OSError:
+        pass




Related Messages


Powered by MHonArc, Updated Fri Oct 18 20:20:05 2013