Remove unused var from CheckCancelOperation test (GH-4317)

It looks like this was copied from one of the previous tests, which did use it.
This commit is contained in:
Simon Willison 2017-11-07 13:06:55 -08:00 committed by Berker Peksag
parent 5a8a84b34f
commit 4fc4defd1c
1 changed files with 0 additions and 2 deletions

View File

@ -177,9 +177,7 @@ class ProgressTests(unittest.TestCase):
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()