diff --git a/lib/cdist/test/exec/test_local.py b/lib/cdist/test/exec/test_local.py
index 2c021404..40611a0b 100644
--- a/lib/cdist/test/exec/test_local.py
+++ b/lib/cdist/test/exec/test_local.py
@@ -54,8 +54,7 @@ class LocalTestCase(unittest.TestCase):
         self.local = local.Local(target_host, local_base_path, out_path)
 
     def tearDown(self):
-        #shutil.rmtree(self.temp_dir)
-        pass
+        shutil.rmtree(self.temp_dir)
 
     def test_run_success(self):
         self.local.run(['/bin/true'])