Commit 4fc4defd authored by Simon Willison's avatar Simon Willison Committed by Berker Peksag

Remove unused var from CheckCancelOperation test (GH-4317)

It looks like this was copied from one of the previous tests, which did use it.
parent 5a8a84b3
...@@ -177,9 +177,7 @@ class ProgressTests(unittest.TestCase): ...@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment