mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Work around https://bugs.python.org/issue37380 in tests.
This commit is contained in:
parent
4fc36bdfb8
commit
9bb539a2fc
1 changed files with 4 additions and 0 deletions
|
|
@ -272,6 +272,10 @@ class Session(object):
|
|||
self.backchannel.close()
|
||||
self.backchannel = None
|
||||
|
||||
# Work around https://bugs.python.org/issue37380
|
||||
if self.debuggee is not None and self.debuggee.returncode is None:
|
||||
self.debuggee.returncode = -1
|
||||
|
||||
@property
|
||||
def ignore_unobserved(self):
|
||||
return self.timeline.ignore_unobserved
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue