--- a/eric6/DebugClients/Python/DebugClientBase.py Thu Sep 19 19:39:04 2019 +0200 +++ b/eric6/DebugClients/Python/DebugClientBase.py Sat Sep 21 13:03:17 2019 +0200 @@ -612,8 +612,8 @@ code = self.compile_command(self.buffer, self.readstream.name) except (OverflowError, SyntaxError, ValueError): # Report the exception - sys.last_type, sys.last_value, sys.last_traceback = \ - sys.exc_info() + sys.last_type, sys.last_value, sys.last_traceback = ( + sys.exc_info()) self.sendJsonCommand("ClientOutput", { "text": "".join(traceback.format_exception_only( sys.last_type, sys.last_value)) @@ -648,9 +648,9 @@ cf = cf.f_back frmnr -= 1 _globals = cf.f_globals - _locals = \ + _locals = ( self.currentThread.getFrameLocals( - self.framenr) + self.framenr)) ## reset sys.stdout to our redirector ## (unconditionally) if "sys" in _globals: @@ -825,8 +825,8 @@ testLoader = unittest.TestLoader() test = testLoader.discover( discoveryStart, top_level_dir=top_level_dir) - if hasattr(testLoader, "errors") and \ - bool(testLoader.errors): + if (hasattr(testLoader, "errors") and + bool(testLoader.errors)): self.sendJsonCommand("ResponseUTDiscover", { "testCasesList": [], "exception": "DiscoveryError", @@ -978,9 +978,9 @@ testCases.extend(self.__assembleTestCasesList(test, start)) else: testId = test.id() - if "ModuleImportFailure" not in testId and \ - "LoadTestsFailure" not in testId and \ - "_FailedTest" not in testId: + if ("ModuleImportFailure" not in testId and + "LoadTestsFailure" not in testId and + "_FailedTest" not in testId): filename = os.path.join( start, test.__module__.replace(".", os.sep) + ".py")