]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Make cursor tests mypy-clean
authorDenis Laxalde <denis.laxalde@dalibo.com>
Tue, 2 Mar 2021 11:18:32 +0000 (12:18 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 10 Nov 2021 01:57:39 +0000 (02:57 +0100)
commit6a18ad43081266cac6c9fb52038a57bcf962798a
tree5d57ab344ffddbf604b37766820cecf1e8c43aa2
parentc745c1e2f68f43711ed9399f443ad3564eeed3fb
Make cursor tests mypy-clean

Add a type annotation to 'rns' in test_rownumber(); assert that
cursor._query is not None.
pyproject.toml
tests/test_cursor.py
tests/test_cursor_async.py
tests/test_server_cursor.py
tests/test_server_cursor_async.py