removed conditional check in add_timeout()
This commit is contained in:
parent
e00c3db71a
commit
d4ebfdbc3c
1 changed files with 1 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue