Fix delete issue

This commit is contained in:
Tim Bentley 2013-02-11 19:54:18 +00:00
parent 19f9cb8c24
commit 5bc10bf1a9

View File

@ -27,7 +27,10 @@ class TestSettings(TestCase):
Delete all the C++ objects at the end so that we don't have a segfault
"""
del self.application
os.remove(Settings().fileName())
try:
os.remove(Settings().fileName())
except:
pass
def settings_basic_test(self):
"""