New submission from Torsten Landschoff <t.landsch...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11689>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to