New submission from cheeleong: I discovered this bug accidentally when i'm trying to test the Python 3.4 package $ make test
I've encountered the unittest assertion error at CheckOpcodeCount with the message, 5 is not greater than 5. at line 144 here http://hg.python.org/cpython/file/04f714765c13/Lib/sqlite3/test/hooks.py I read this http://docs.python.org/2/library/sqlite3.html#sqlite3.Connection.set_progress_handler As I understood, n is the step. I took it out and tried to test it with Python 2.7 and 3.3.5. But the expected results was as the same as 3.4. I've tried to replace the n with others number and the results returned don't really look like n is the step. I have no idea if I'm wrong about this. But #python recommended me to submit this as a ticket. ---------- components: Library (Lib) messages: 213851 nosy: klrkdekira priority: normal severity: normal status: open title: Unexpected behavior in sqlite3.Connection.set_progress_handler type: behavior versions: Python 2.7, Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20955> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com