src/eric7/Testing/Interfaces/TestExecutorBase.py

branch
eric7
changeset 10417
c6011e501282
parent 10415
af9a6dac2611
child 10426
1150e67efb5a
equal deleted inserted replaced
10416:5d807e997391 10417:c6011e501282
323 if pythonpath: 323 if pythonpath:
324 currentPythonPath = os.environ.get("PYTHONPATH") 324 currentPythonPath = os.environ.get("PYTHONPATH")
325 newPythonPath = os.pathsep.join(pythonpath) 325 newPythonPath = os.pathsep.join(pythonpath)
326 if currentPythonPath: 326 if currentPythonPath:
327 newPythonPath += os.pathsep + currentPythonPath 327 newPythonPath += os.pathsep + currentPythonPath
328 environment = "PYTHONPATH={0}".format(newPythonPath) 328 environment = {"PYTHONPATH": newPythonPath}
329 else: 329 else:
330 environment = "" 330 environment = {}
331 331
332 self.__debugger = debugger 332 self.__debugger = debugger
333 self.__debugger.debuggingFinished.connect(self.finished) 333 self.__debugger.debuggingFinished.connect(self.finished)
334 self.testRunAboutToBeStarted.emit() 334 self.testRunAboutToBeStarted.emit()
335 335

eric ide

mercurial