From f47027068bf292c0d0d1a16b819ac2f328532c5a Mon Sep 17 00:00:00 2001 From: Biowilko Date: Wed, 18 Sep 2024 11:33:19 +0100 Subject: [PATCH] Add sleep to logger handler check --- tests/test_varys.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_varys.py b/tests/test_varys.py index ce142d9..b42a572 100644 --- a/tests/test_varys.py +++ b/tests/test_varys.py @@ -40,6 +40,7 @@ def tearDown(self): # check that all file handles were dropped logger = logging.getLogger("test_varys") + time.sleep(0.1) self.assertEqual(len(logger.handlers), 0) def send_and_receive(self):