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:
parent
627221a5cd
commit
4a29f0702f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user