summaryrefslogtreecommitdiffstats
path: root/Lib/sqlite3/test/hooks.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sqlite3/test/hooks.py')
-rw-r--r--Lib/sqlite3/test/hooks.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/sqlite3/test/hooks.py b/Lib/sqlite3/test/hooks.py
index 801a30c..d74e74b 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()