Fix mypy for the new Python

This commit is contained in:
Kirill Bulatov
2022-02-24 13:42:48 +03:00
committed by Kirill Bulatov
parent c1b3836df1
commit 917c640818

View File

@@ -78,8 +78,8 @@ def test_twophase(zenith_simple_env: ZenithEnv):
cur2.execute("ROLLBACK PREPARED 'insert_two'")
cur2.execute('SELECT * FROM foo')
assert cur2.fetchall() == [('one', ), ('three', )] # type: ignore[comparison-overlap]
assert cur2.fetchall() == [('one', ), ('three', )]
# Only one committed insert is visible on the original branch
cur.execute('SELECT * FROM foo')
assert cur.fetchall() == [('three', )] # type: ignore[comparison-overlap]
assert cur.fetchall() == [('three', )]