forked from LBRYCommunity/lbry-sdk
returned conditional check in add_timeout() as it was making test_node.py tests unhappy
This commit is contained in:
parent
d4ebfdbc3c
commit
d69486fb6e
1 changed files with 2 additions and 1 deletions
|
@ -201,6 +201,7 @@ class AsyncioTestCase(unittest.TestCase):
|
||||||
task.cancel()
|
task.cancel()
|
||||||
|
|
||||||
def add_timeout(self):
|
def add_timeout(self):
|
||||||
|
if self.TIMEOUT:
|
||||||
self.loop.call_later(self.TIMEOUT, self.cancel)
|
self.loop.call_later(self.TIMEOUT, self.cancel)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue