]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Use setattr() when monkeypatching in pool tests
authorDenis Laxalde <denis.laxalde@dalibo.com>
Tue, 2 Nov 2021 12:14:12 +0000 (13:14 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 3 Nov 2021 15:55:14 +0000 (16:55 +0100)
commit4dd92ab9e680396af574711c0b6571abf6d5042f
treea5224985f1125efab9ed24bfec9226356efef111
parenta73da9ef456e533a923632025bd6114a799d2a7f
Use setattr() when monkeypatching in pool tests

This is to avoid mypy error: Cannot assign to a method.
tests/pool/test_sched.py
tests/pool/test_sched_async.py