mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-05 12:32:54 +00:00
Fix mypy for the new Python
This commit is contained in:
committed by
Kirill Bulatov
parent
c1b3836df1
commit
917c640818
@@ -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', )]
|
||||
|
||||
Reference in New Issue
Block a user