Skip to content

Commit 4fc4def

Browse files
Simon Willisonberkerpeksag
Simon Willison
authored andcommitted
Remove unused var from CheckCancelOperation test (GH-4317)
It looks like this was copied from one of the previous tests, which did use it.
1 parent 5a8a84b commit 4fc4def

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/sqlite3/test/hooks.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,7 @@ def CheckCancelOperation(self):
177177
Test that returning a non-zero value stops the operation in progress.
178178
"""
179179
con = sqlite.connect(":memory:")
180-
progress_calls = []
181180
def progress():
182-
progress_calls.append(None)
183181
return 1
184182
con.set_progress_handler(progress, 1)
185183
curs = con.cursor()

0 commit comments

Comments
 (0)