pylint
This commit is contained in:
parent
a16495d06f
commit
390226d2ef
2 changed files with 2 additions and 5 deletions
|
@ -307,7 +307,7 @@ class BlockchainNode:
|
||||||
)
|
)
|
||||||
self.log.info(' '.join(command))
|
self.log.info(' '.join(command))
|
||||||
self.transport, self.protocol = await loop.subprocess_exec(
|
self.transport, self.protocol = await loop.subprocess_exec(
|
||||||
lambda: BlockchainProcess(), *command
|
BlockchainProcess, *command
|
||||||
)
|
)
|
||||||
await self.protocol.ready.wait()
|
await self.protocol.ready.wait()
|
||||||
|
|
||||||
|
|
|
@ -66,9 +66,6 @@ class AsyncioTestCase(unittest.TestCase):
|
||||||
async def asyncTearDown(self): # pylint: disable=C0103
|
async def asyncTearDown(self): # pylint: disable=C0103
|
||||||
pass
|
pass
|
||||||
|
|
||||||
async def doAsyncCleanups(self): # pylint: disable=C0103
|
|
||||||
pass
|
|
||||||
|
|
||||||
def run(self, result=None): # pylint: disable=R0915
|
def run(self, result=None): # pylint: disable=R0915
|
||||||
orig_result = result
|
orig_result = result
|
||||||
if result is None:
|
if result is None:
|
||||||
|
@ -154,7 +151,7 @@ class AsyncioTestCase(unittest.TestCase):
|
||||||
# clear the outcome, no more needed
|
# clear the outcome, no more needed
|
||||||
self._outcome = None
|
self._outcome = None
|
||||||
|
|
||||||
def doAsyncCleanups(self, loop):
|
def doAsyncCleanups(self, loop): # pylint: disable=C0103
|
||||||
outcome = self._outcome or _Outcome()
|
outcome = self._outcome or _Outcome()
|
||||||
while self._cleanups:
|
while self._cleanups:
|
||||||
function, args, kwargs = self._cleanups.pop()
|
function, args, kwargs = self._cleanups.pop()
|
||||||
|
|
Loading…
Add table
Reference in a new issue