forked from M-Labs/artiq
1
0
Fork 0

test.ctlmgr: drop a redundant lambda

This commit is contained in:
Robert Jördens 2016-01-28 16:59:59 -07:00
parent 627221a5cd
commit 4a29f0702f
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class ControllerCase(unittest.TestCase):
self.controllers = Controllers() self.controllers = Controllers()
self.controllers.host_filter = "::1" self.controllers.host_filter = "::1"
self.addCleanup( self.addCleanup(
lambda: self.loop.run_until_complete(self.controllers.shutdown())) self.loop.run_until_complete, self.controllers.shutdown())
async def start(self, name, entry): async def start(self, name, entry):
self.controllers[name] = entry self.controllers[name] = entry