From 56ac4281c75bc450bc7ff182068b914d69d9202b Mon Sep 17 00:00:00 2001 From: Ryan Kraus Date: Sat, 30 Jan 2016 14:39:17 -0500 Subject: [PATCH] Better tear down of util/package tests Explicitly removed temp directory at the end of util/package unit tests. --- tests/util/test_package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/util/test_package.py b/tests/util/test_package.py index 7c10134c60a..db5a8a88e94 100644 --- a/tests/util/test_package.py +++ b/tests/util/test_package.py @@ -27,7 +27,7 @@ class TestPackageUtil(unittest.TestCase): def tearDown(self): """ Remove local library """ - del self.tmp_dir + self.tmp_dir.cleanup() def test_install_existing_package(self): """ Test an install attempt on an existing package """