Skip to content

Commit

Permalink
ConnectionPool is now iter
Browse files Browse the repository at this point in the history
  • Loading branch information
jzuech3 committed Jun 12, 2020
1 parent b54858a commit 00cfe23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/nti/intid/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ def __exit__(self, t, v, tb):

def reset_db_caches(db=None):
if db is not None:
db.pool.map(lambda conn: conn.cacheMinimize())
for conn in db.pool:
conn.cacheMinimize()


def _mock_ds_wrapper_for(func, db, teardown=None):
Expand Down

0 comments on commit 00cfe23

Please sign in to comment.