diff tests/test_helpers.py @ 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 d741f536f23a
children
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()