use_threadlocal=True)
- @profiling.function_call_count(54, {'2.3': 42, '2.4': 43})
+ @profiling.function_call_count(54, {'2.4': 38})
def test_first_connect(self):
conn = pool.connect()
conn = pool.connect()
conn.close()
- @profiling.function_call_count(31, {'2.3': 26, '2.4': 26})
+ @profiling.function_call_count(31, {'2.4': 21})
def go():
conn2 = pool.connect()
return conn2
def test_second_samethread_connect(self):
conn = pool.connect()
- @profiling.function_call_count(5, {'2.3': 4, '2.4': 4})
+ @profiling.function_call_count(5, {'2.4': 3})
def go():
return pool.connect()
c2 = go()