Skip to content

Commit

Permalink
Remove unused var from CheckCancelOperation test (GH-4317)
Browse files Browse the repository at this point in the history
It looks like this was copied from one of the previous tests, which did use it.
  • Loading branch information
Simon Willison authored and berkerpeksag committed Nov 7, 2017
1 parent 5a8a84b commit 4fc4def
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Lib/sqlite3/test/hooks.py
Expand Up @@ -177,9 +177,7 @@ def CheckCancelOperation(self):
Test that returning a non-zero value stops the operation in progress.
"""
con = sqlite.connect(":memory:")
progress_calls = []
def progress():
progress_calls.append(None)
return 1
con.set_progress_handler(progress, 1)
curs = con.cursor()
Expand Down

0 comments on commit 4fc4def

Please sign in to comment.