]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Ignore mypy errors about cursor.fetchone()
authorDenis Laxalde <denis.laxalde@dalibo.com>
Tue, 2 Nov 2021 13:44:38 +0000 (14:44 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 3 Nov 2021 15:55:14 +0000 (16:55 +0100)
commite53ad34087a58129857e54d1757f479ce3996c46
tree979b3ca3bc2eb5e9aac1e7147b143188381fb7fb
parentd5937e182bbd21cee7acaaafd247526b16ddbaec
Ignore mypy errors about cursor.fetchone()

fetchone() can return None, so mypy complains that '"None" object is
not iterable' (or not indexable).
tests/pool/test_pool.py
tests/pool/test_pool_async.py