]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Work around a mypy 'Incompatible types in assignment' in sql tests
authorDenis Laxalde <denis.laxalde@dalibo.com>
Tue, 2 Nov 2021 10:24:30 +0000 (11:24 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 3 Nov 2021 15:53:47 +0000 (16:53 +0100)
commita48230a9a8897ca34f0525469939ac08d91034de
tree1484fdd25be51c2912cae219336a5c3dfe659a23
parente43d4917e2dc7661f4e987dd8de3be8d65997d63
Work around a mypy 'Incompatible types in assignment' in sql tests

By defining 'obj' as a Composed value, we avoid the mypy error about
variable type change.
tests/test_sql.py