removed conditional check in add_timeout()

This commit is contained in:
FemtosecondLaser 2021-11-29 22:56:50 +00:00
parent e00c3db71a
commit d4ebfdbc3c

View file

@ -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):