From dc15c5ee12dadf0c931847f4f74677dfb617c24f Mon Sep 17 00:00:00 2001 From: Bernhard Kaindl Date: Thu, 18 Jan 2024 12:00:00 +0100 Subject: [PATCH] tests/test_ifrename_dynamic.py: Close test's StringIO in correct order Signed-off-by: Bernhard Kaindl --- tests/test_ifrename_dynamic.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_ifrename_dynamic.py b/tests/test_ifrename_dynamic.py index e101f4f5..282912b4 100644 --- a/tests/test_ifrename_dynamic.py +++ b/tests/test_ifrename_dynamic.py @@ -20,9 +20,8 @@ def setUp(self): openLog(self.logbuf, logging.NOTSET) def tearDown(self): - - closeLogs() self.logbuf.close() + closeLogs() def test_null(self):