[pypy-commit] pypy default: test for row_factory change in last commit

bdkearns noreply at buildbot.pypy.org
Thu Apr 4 22:59:51 CEST 2013


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r63021:92adf3e58b66
Date: 2013-04-04 16:58 -0400
http://bitbucket.org/pypy/pypy/changeset/92adf3e58b66/

Log:	test for row_factory change in last commit

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
@@ -193,3 +193,8 @@
     con.commit()
     con.execute('BEGIN')
     con.commit()
+
+def test_row_factory_use():
+    con = _sqlite3.connect(':memory:')
+    con.row_factory = 42
+    con.execute('select 1')


More information about the pypy-commit mailing list