[issue11689] sqlite: Incorrect unit test fails to detect failure
Torsten Landschoff
report at bugs.python.org
Sat Mar 26 23:28:40 CET 2011
New submission from Torsten Landschoff <t.landschoff at gmx.net>:
The CheckClearHandler test in Lib/sqlite3/test/hooks.py is invalid. It sets a local variable in a callback where it wants to change the variable in the closure.
Patch attached.
----------
components: Tests
files: test_clear_handler_py3.diff
keywords: patch
messages: 132278
nosy: torsten
priority: normal
severity: normal
status: open
title: sqlite: Incorrect unit test fails to detect failure
versions: Python 2.7, Python 3.3
Added file: http://bugs.python.org/file21415/test_clear_handler_py3.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11689>
_______________________________________
More information about the Python-bugs-list
mailing list