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,7 +201,6 @@ 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