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
9908775576
commit
f8fe205066
1 changed files with 2 additions and 1 deletions
|
@ -201,7 +201,8 @@ class AsyncioTestCase(unittest.TestCase):
|
|||
task.cancel()
|
||||
|
||||
def add_timeout(self):
|
||||
self.loop.call_later(self.TIMEOUT, self.cancel)
|
||||
if self.TIMEOUT:
|
||||
self.loop.call_later(self.TIMEOUT, self.cancel)
|
||||
|
||||
|
||||
class AdvanceTimeTestCase(AsyncioTestCase):
|
||||
|
|
Loading…
Reference in a new issue