From 0db668f67be69ac5407c823fa15d017ea29cca71 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Thu, 4 May 2017 16:35:37 -0700 Subject: [PATCH] remove unnecessary closes causing logging problems (#4616) --- certbot/tests/main_test.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/certbot/tests/main_test.py b/certbot/tests/main_test.py index 23cff7edd..7c2016178 100644 --- a/certbot/tests/main_test.py +++ b/certbot/tests/main_test.py @@ -410,8 +410,6 @@ class MainTest(test_util.TempDirTestCase): # pylint: disable=too-many-public-me finally: output = toy_out.getvalue() or toy_err.getvalue() self.assertTrue("certbot" in output, "Output is {0}".format(output)) - toy_out.close() - toy_err.close() def _cli_missing_flag(self, args, message): "Ensure that a particular error raises a missing cli flag error containing message"