From ffeb76c89464821cd350c1c992043def690a97a2 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Wed, 22 Feb 2017 22:13:04 +0100 Subject: [PATCH] Unittests: remove temporary file 'testscour_temp.svg' after running tests --- testscour.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testscour.py b/testscour.py index ace070e..29b70a9 100755 --- a/testscour.py +++ b/testscour.py @@ -95,6 +95,8 @@ class EmptyOptions(unittest.TestCase): fail = True sys.stdout = stdout_temp + os.remove('testscour_temp.svg') + self.assertEqual(fail, False, 'Exception when calling "start" with empty options object')