We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c26277 commit 145e787Copy full SHA for 145e787
test/asynchronous/helpers.py
@@ -403,5 +403,7 @@ def is_alive(self):
403
return not self.stopped
404
405
async def run(self):
406
- await self.target(*self.args)
407
- self.stopped = True
+ try:
+ await self.target(*self.args)
408
+ finally:
409
+ self.stopped = True
test/helpers.py
def run(self):
- self.target(*self.args)
+ self.target(*self.args)
0 commit comments