MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / test_second_connect

Method test_second_connect

test/aaa_profiling/test_pool.py:40–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 pool.connect()
39
40 def test_second_connect(self):
41 conn = pool.connect()
42 conn.close()
43
44 @profiling.function_call_count(variance=0.10)
45 def go():
46 conn2 = pool.connect()
47 return conn2
48
49 go()

Callers

nothing calls this directly

Calls 3

goFunction · 0.70
connectMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected