diff options
author | Simon Willison <simonw@eventbrite.com> | 2017-11-07 13:06:55 -0800 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2017-11-08 00:06:55 +0300 |
commit | 4fc4defd1c9bd667635ba4080404e7aa3fcd49ea (patch) | |
tree | 8e40df6eba5b2924626658f036660a906c700346 /Lib/sqlite3/test/hooks.py | |
parent | 5a8a84b34fbc385bf112819fe3b65503e33a33fa (diff) | |
download | cpython-git-4fc4defd1c9bd667635ba4080404e7aa3fcd49ea.tar.gz |
Remove unused var from CheckCancelOperation test (GH-4317)
It looks like this was copied from one of the previous tests, which did use it.
Diffstat (limited to 'Lib/sqlite3/test/hooks.py')
-rw-r--r-- | Lib/sqlite3/test/hooks.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/sqlite3/test/hooks.py b/Lib/sqlite3/test/hooks.py index 801a30cc34..d74e74bf27 100644 --- a/Lib/sqlite3/test/hooks.py +++ b/Lib/sqlite3/test/hooks.py @@ -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() |