From 917c6408186e4faae5c20437d103eb3b994e1b40 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Thu, 24 Feb 2022 13:42:48 +0300 Subject: [PATCH] Fix mypy for the new Python --- test_runner/batch_others/test_twophase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_runner/batch_others/test_twophase.py b/test_runner/batch_others/test_twophase.py index 385e47695e..d6a1cd01e8 100644 --- a/test_runner/batch_others/test_twophase.py +++ b/test_runner/batch_others/test_twophase.py @@ -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', )]