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:
parent
5a8a84b34f
commit
4fc4defd1c
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue