MCPcopy Index your code
hub / github.com/python/cpython / assert_logs

Method assert_logs

Lib/test/test_android.py:60–62  ·  view source on GitHub ↗
(self, level, tag, expected, **kwargs)

Source from the content-addressed store, hash-verified

58 raise
59
60 def assert_logs(self, level, tag, expected, **kwargs):
61 for line in expected:
62 self.assert_log(level, tag, line, **kwargs)
63
64 def assert_log(self, level, tag, expected, *, skip=False):
65 deadline = time() + LOOPBACK_TIMEOUT

Callers 1

writeMethod · 0.95

Calls 1

assert_logMethod · 0.95

Tested by

no test coverage detected