MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / go

Method go

test/engine/test_logging.py:716–722  ·  view source on GitHub ↗
(expected)

Source from the content-addressed store, hash-verified

714 log.addHandler(buf)
715
716 def go(expected):
717 assert buf.buffer
718
719 buflines = [rec.msg % rec.args for rec in buf.buffer]
720
721 eq_(buflines, expected)
722 buf.flush()
723
724 yield go
725 for log in [

Callers

nothing calls this directly

Calls 2

eq_Function · 0.90
flushMethod · 0.45

Tested by

no test coverage detected