mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Log realized expectations.
This commit is contained in:
parent
d5b34e6fab
commit
0816cc4d2e
1 changed files with 3 additions and 1 deletions
|
|
@ -68,7 +68,9 @@ class Timeline(object):
|
|||
'Use >> to sequence an expectation against an occurrence to establish a lower bound.'
|
||||
)
|
||||
print('Waiting for %r' % expectation)
|
||||
return self.wait_until(lambda: expectation in self)
|
||||
occ = self.wait_until(lambda: expectation in self)
|
||||
print('Expectation %r realized by %r' % (expectation, occ))
|
||||
return occ
|
||||
|
||||
def _record(self, occurrence):
|
||||
t = timestamp()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue