diff --git a/Code/Mantid/Framework/Algorithms/test/GeneratePythonScriptTest.h b/Code/Mantid/Framework/Algorithms/test/GeneratePythonScriptTest.h index 6efa04d9aa6e..baac9dabbcc7 100644 --- a/Code/Mantid/Framework/Algorithms/test/GeneratePythonScriptTest.h +++ b/Code/Mantid/Framework/Algorithms/test/GeneratePythonScriptTest.h @@ -111,7 +111,7 @@ class GeneratePythonScriptTest : public CxxTest::TestSuite } file.close(); - //if (Poco::File(filename).exists()) Poco::File(filename).remove(); + if (Poco::File(filename).exists()) Poco::File(filename).remove(); } };