diff options
| author | kolaente <k@knt.li> | 2020-07-05 17:12:46 +0200 |
|---|---|---|
| committer | kolaente <k@knt.li> | 2020-07-05 17:12:46 +0200 |
| commit | 0cf41434cd0d33f3d3ee6b335ed20627dd8ce788 (patch) | |
| tree | 36b8f4aefcc7bd863dce2df5c78c31fe626c6f46 /pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch | |
| parent | 615437a54c1a32a51d7a534b793ee4ec0d848fbb (diff) | |
| parent | 1f02e09a2c08a1d685fe220dcba9e01863d9505f (diff) | |
Merge branch 'master' into update/flutter
Diffstat (limited to 'pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch')
| -rw-r--r-- | pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch b/pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch new file mode 100644 index 000000000000..751351e03cde --- /dev/null +++ b/pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch @@ -0,0 +1,12 @@ +diff --git a/tests/debug/session.py b/tests/debug/session.py +index 2b39106..6d45a10 100644 +--- a/tests/debug/session.py ++++ b/tests/debug/session.py +@@ -625,6 +625,7 @@ class Session(object): + 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) + return self._request_start("launch") + |
