forked from LBRYCommunity/lbry-sdk
removed conditional check in add_timeout()
This commit is contained in:
parent
bf7745ec8d
commit
9908775576
1 changed files with 1 additions and 2 deletions
|
@ -201,8 +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)
|
|
||||||
|
|
||||||
|
|
||||||
class AdvanceTimeTestCase(AsyncioTestCase):
|
class AdvanceTimeTestCase(AsyncioTestCase):
|
||||||
|
|
Loading…
Add table
Reference in a new issue