This commit is contained in:
Lex Berezhny 2018-12-14 22:36:45 -05:00
parent a16495d06f
commit 390226d2ef
2 changed files with 2 additions and 5 deletions

View file

@ -307,7 +307,7 @@ class BlockchainNode:
)
self.log.info(' '.join(command))
self.transport, self.protocol = await loop.subprocess_exec(
lambda: BlockchainProcess(), *command
BlockchainProcess, *command
)
await self.protocol.ready.wait()

View file

@ -66,9 +66,6 @@ class AsyncioTestCase(unittest.TestCase):
async def asyncTearDown(self): # pylint: disable=C0103
pass
async def doAsyncCleanups(self): # pylint: disable=C0103
pass
def run(self, result=None): # pylint: disable=R0915
orig_result = result
if result is None:
@ -154,7 +151,7 @@ class AsyncioTestCase(unittest.TestCase):
# clear the outcome, no more needed
self._outcome = None
def doAsyncCleanups(self, loop):
def doAsyncCleanups(self, loop): # pylint: disable=C0103
outcome = self._outcome or _Outcome()
while self._cleanups:
function, args, kwargs = self._cleanups.pop()