mirror of https://github.com/m-labs/artiq.git
test.ctlmgr: drop a redundant lambda
This commit is contained in:
parent
627221a5cd
commit
4a29f0702f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue