Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / debugpy / fix-test-pythonpath.patch
blob751351e03cde7c29fa3c696f28803b1906d15bf7
1 diff --git a/tests/debug/session.py b/tests/debug/session.py
2 index 2b39106..6d45a10 100644
3 --- a/tests/debug/session.py
4 +++ b/tests/debug/session.py
5 @@ -625,6 +625,7 @@ class Session(object):
6 if "PYTHONPATH" in self.config.env:
7 # If specified, launcher will use it in lieu of PYTHONPATH it inherited
8 # from the adapter when spawning debuggee, so we need to adjust again.
9 + self.config.env.prepend_to("PYTHONPATH", os.environ["PYTHONPATH"])
10 self.config.env.prepend_to("PYTHONPATH", DEBUGGEE_PYTHONPATH.strpath)
11 return self._request_start("launch")