From 99087755763bd3b88384e20515d3988c479dddde Mon Sep 17 00:00:00 2001 From: FemtosecondLaser <38204088+FemtosecondLaser@users.noreply.github.com> Date: Mon, 29 Nov 2021 22:56:50 +0000 Subject: [PATCH] removed conditional check in add_timeout() --- lbry/testcase.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lbry/testcase.py b/lbry/testcase.py index 6ad0dcb13..9a8e8d72d 100644 --- a/lbry/testcase.py +++ b/lbry/testcase.py @@ -201,8 +201,7 @@ class AsyncioTestCase(unittest.TestCase): task.cancel() def add_timeout(self): - if self.TIMEOUT: - self.loop.call_later(self.TIMEOUT, self.cancel) + self.loop.call_later(self.TIMEOUT, self.cancel) class AdvanceTimeTestCase(AsyncioTestCase):