mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Add code coverage for tests (excluding ptvsd.server and pydevd).
Fix some issues on Python 2.7. Remove dead code.
This commit is contained in:
parent
b7c48cc9fe
commit
0825dbeb37
12 changed files with 59 additions and 63 deletions
|
|
@ -279,6 +279,7 @@ class Launch(DebugStartBase):
|
|||
cwd = request("cwd", ".")
|
||||
|
||||
env = os.environ.copy()
|
||||
env.pop("COV_CORE_SOURCE", None) # disable codecov subprocess hook
|
||||
env.update(request("env", json.object(unicode)))
|
||||
|
||||
if sys.version_info < (3,):
|
||||
|
|
@ -346,6 +347,7 @@ class AttachBase(DebugStartBase):
|
|||
target_str = target.strpath
|
||||
|
||||
env = os.environ.copy()
|
||||
env.pop("COV_CORE_SOURCE", None) # disable codecov subprocess hook
|
||||
env.update(kwargs["env"])
|
||||
|
||||
cli_args = kwargs.get("cli_args")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue