2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

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

View File

@ -21,7 +21,7 @@ class ControllerCase(unittest.TestCase):
self.controllers = Controllers()
self.controllers.host_filter = "::1"
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):
self.controllers[name] = entry