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

View file

@ -177,9 +177,7 @@ class ProgressTests(unittest.TestCase):
Test that returning a non-zero value stops the operation in progress. Test that returning a non-zero value stops the operation in progress.
""" """
con = sqlite.connect(":memory:") con = sqlite.connect(":memory:")
progress_calls = []
def progress(): def progress():
progress_calls.append(None)
return 1 return 1
con.set_progress_handler(progress, 1) con.set_progress_handler(progress, 1)
curs = con.cursor() curs = con.cursor()