src/eric7/Testing/Interfaces/TestExecutorBase.py

branch
eric7
changeset 10417
c6011e501282
parent 10415
af9a6dac2611
child 10426
1150e67efb5a
diff -r 5d807e997391 -r c6011e501282 src/eric7/Testing/Interfaces/TestExecutorBase.py
--- a/src/eric7/Testing/Interfaces/TestExecutorBase.py	Sat Dec 16 17:52:02 2023 +0100
+++ b/src/eric7/Testing/Interfaces/TestExecutorBase.py	Sun Dec 17 17:15:19 2023 +0100
@@ -325,9 +325,9 @@
             newPythonPath = os.pathsep.join(pythonpath)
             if currentPythonPath:
                 newPythonPath += os.pathsep + currentPythonPath
-            environment = "PYTHONPATH={0}".format(newPythonPath)
+            environment = {"PYTHONPATH": newPythonPath}
         else:
-            environment = ""
+            environment = {}
 
         self.__debugger = debugger
         self.__debugger.debuggingFinished.connect(self.finished)

eric ide

mercurial