MCPcopy Create free account
hub / github.com/ddnet/ddnet / clear_events

Method clear_events

scripts/integration_test.py:382–389  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

380 return event
381
382 def clear_events(self):
383 while True:
384 try:
385 event = self.events.get(block=False)
386 except queue.Empty:
387 break
388 else:
389 event.raise_on_error(None)
390
391 def wait_for_log(self, fn, description, timeout=1):
392 timeout_id = self.register_timeout(timeout, description)

Callers 1

smoke_testFunction · 0.80

Calls 2

getMethod · 0.80
raise_on_errorMethod · 0.45

Tested by

no test coverage detected