2020-07-18 16:06:22 +00:00
|
|
|
diff --git a/tests/debug/session.py b/tests/debug/session.py
|
2024-04-21 15:54:59 +00:00
|
|
|
index d0921956..459c89c0 100644
|
2020-07-18 16:06:22 +00:00
|
|
|
--- a/tests/debug/session.py
|
|
|
|
+++ b/tests/debug/session.py
|
2024-04-21 15:54:59 +00:00
|
|
|
@@ -704,6 +704,7 @@ class Session(object):
|
2020-07-18 16:06:22 +00:00
|
|
|
if "PYTHONPATH" in self.config.env:
|
|
|
|
# If specified, launcher will use it in lieu of PYTHONPATH it inherited
|
|
|
|
# from the adapter when spawning debuggee, so we need to adjust again.
|
|
|
|
+ self.config.env.prepend_to("PYTHONPATH", os.environ["PYTHONPATH"])
|
|
|
|
self.config.env.prepend_to("PYTHONPATH", DEBUGGEE_PYTHONPATH.strpath)
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
# Adapter is going to start listening for server and spawn the launcher at
|