Author: Brian Kearns <[email protected]>
Branch:
Changeset: r63003:5f25d776122e
Date: 2013-04-04 04:33 -0400
http://bitbucket.org/pypy/pypy/changeset/5f25d776122e/
Log: enhance this test to demonstrate flaws in the initial fix
diff --git a/pypy/module/test_lib_pypy/test_sqlite3.py
b/pypy/module/test_lib_pypy/test_sqlite3.py
--- a/pypy/module/test_lib_pypy/test_sqlite3.py
+++ b/pypy/module/test_lib_pypy/test_sqlite3.py
@@ -200,6 +200,8 @@
def test_explicit_begin():
con = _sqlite3.connect(':memory:')
con.execute('BEGIN')
+ con.execute('BEGIN ')
+ con.execute('BEGIN')
con.commit()
con.execute('BEGIN')
con.commit()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit