returned conditional check in add_timeout() as it was making test_node.py tests unhappy

This commit is contained in:
FemtosecondLaser 2021-11-30 01:01:35 +00:00
parent d4ebfdbc3c
commit d69486fb6e

View file

@ -201,6 +201,7 @@ class AsyncioTestCase(unittest.TestCase):
task.cancel()
def add_timeout(self):
if self.TIMEOUT:
self.loop.call_later(self.TIMEOUT, self.cancel)