MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / teardown_test

Method teardown_test

test/engine/test_logging.py:49–53  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47 log.addHandler(self.buf)
48
49 def teardown_test(self):
50 self.eng = engines.testing_engine(options={"echo": True})
51 exec_sql(self.eng, "drop table if exists foo")
52 for log in [logging.getLogger("sqlalchemy.engine")]:
53 log.removeHandler(self.buf)
54
55 def test_log_large_list_of_dict(self):
56 exec_sql(

Callers

nothing calls this directly

Calls 2

testing_engineMethod · 0.80
exec_sqlFunction · 0.70

Tested by

no test coverage detected