summaryrefslogtreecommitdiff
path: root/test/sql
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-08-24 13:06:09 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-08-24 13:06:09 -0400
commit1c9da1e1d7ef7994328de2248b69a1a582766272 (patch)
tree9c43e12cbd4a33da933df8ded982f19febc9e867 /test/sql
parente475f8f4b136ff52a97e002e96b65880bc9f59bf (diff)
downloadsqlalchemy-1c9da1e1d7ef7994328de2248b69a1a582766272.tar.gz
fix mock issue in pool test
Due to the change for #5648 in ad14471bc99c2fb2315d3333a95dd, the mock in test_recycle_pool_no_race needs to implement an empty handle_error dispatcher. the exception was in a thread so did not interrupt the test suite: File "/home/classic/dev/sqlalchemy/lib/sqlalchemy/engine/base.py", line 2059, in _handle_dbapi_exception for fn in self.dialect.dispatch.handle_error: TypeError: 'Mock' object is not iterable Change-Id: I764357c48aa1bf53a572d8ee24c89a7463505092
Diffstat (limited to 'test/sql')
0 files changed, 0 insertions, 0 deletions