4 commits of trivial cleanups to lib_pypy/_sqlite3.py, a comment to comply with the pysqlite license, a test based on the test case in issue996, and a one-line fix for issue996. lib-python/2.7/test/test_sqlite.py still passes after the change.
Added an assert to the new test, which previously just looked for exceptions.
Alex, the new comment is there because the pysqlite license specifically requires that modified versions be marked as modified. It's a silly requirement, but it should be obeyed. I will add an assert to the test.