From 5bc10bf1a9f8ef2ea0af271ee8f3a9b9c2eb88a1 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Mon, 11 Feb 2013 19:54:18 +0000 Subject: [PATCH] Fix delete issue --- tests/functional/openlp_core_lib/test_settings.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/functional/openlp_core_lib/test_settings.py b/tests/functional/openlp_core_lib/test_settings.py index dfe6f4974..48cc7fead 100644 --- a/tests/functional/openlp_core_lib/test_settings.py +++ b/tests/functional/openlp_core_lib/test_settings.py @@ -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): """