mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 19:31:51 +02:00
remove unnecessary closes causing logging problems (#4616)
This commit is contained in:
@@ -410,8 +410,6 @@ class MainTest(test_util.TempDirTestCase): # pylint: disable=too-many-public-me
|
|||||||
finally:
|
finally:
|
||||||
output = toy_out.getvalue() or toy_err.getvalue()
|
output = toy_out.getvalue() or toy_err.getvalue()
|
||||||
self.assertTrue("certbot" in output, "Output is {0}".format(output))
|
self.assertTrue("certbot" in output, "Output is {0}".format(output))
|
||||||
toy_out.close()
|
|
||||||
toy_err.close()
|
|
||||||
|
|
||||||
def _cli_missing_flag(self, args, message):
|
def _cli_missing_flag(self, args, message):
|
||||||
"Ensure that a particular error raises a missing cli flag error containing message"
|
"Ensure that a particular error raises a missing cli flag error containing message"
|
||||||
|
|||||||
Reference in New Issue
Block a user