changeset 1488:8d8fc10d0d0a stable

test_helpers: avoid leaking a temporary directory
author Augie Fackler <raf@durin42.com>
date Sun, 26 Jun 2016 21:07:04 -0400
parents b9530c171050
children 9a6bb3657861 bac709b5ff6c
files tests/test_helpers.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test_helpers.py
+++ b/tests/test_helpers.py
@@ -30,3 +30,4 @@ class TestHelpers(unittest.TestCase):
         fs.popfile('bb')
         self.assertEqual([], os.listdir(fs._tempdir))
         self.assertRaises(editor.EditingError, lambda: fs.getfile('bb'))
+        fs.close()