diff --git a/tests/test_merge_config.py b/tests/test_merge_config.py index 2300308cf1..6c4af336b5 100644 --- a/tests/test_merge_config.py +++ b/tests/test_merge_config.py @@ -96,6 +96,7 @@ class OverrideConfigParserTest(base.BaseTestCase): output = StringIO() parser.write(output) self.assertEqual(ini, output.getvalue()) + output.close() def test_merge(self): parser = merge_configs.OverrideConfigParser() @@ -104,3 +105,4 @@ class OverrideConfigParserTest(base.BaseTestCase): output = StringIO() parser.write(output) self.assertEqual(TESTC, output.getvalue()) + output.close()