From 390226d2efc25cdd53f0a724498aeeb33e6b700b Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Fri, 14 Dec 2018 22:36:45 -0500 Subject: [PATCH] pylint --- torba/orchstr8/node.py | 2 +- torba/testcase.py | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/torba/orchstr8/node.py b/torba/orchstr8/node.py index 5c34d6b38..991ea1241 100644 --- a/torba/orchstr8/node.py +++ b/torba/orchstr8/node.py @@ -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() diff --git a/torba/testcase.py b/torba/testcase.py index e6074c7e9..84a2f4a41 100644 --- a/torba/testcase.py +++ b/torba/testcase.py @@ -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()