[pypy-commit] pypy default: Failing test for issue 996

dripton noreply at buildbot.pypy.org
Mon Jan 23 01:30:54 CET 2012


Author: David Ripton <dripton at ripton.net>
Branch: 
Changeset: r51679:6141b7352630
Date: 2012-01-22 16:18 -0500
http://bitbucket.org/pypy/pypy/changeset/6141b7352630/

Log:	Failing test for issue 996

diff --git a/pypy/module/test_lib_pypy/test_sqlite3.py b/pypy/module/test_lib_pypy/test_sqlite3.py
new file mode 100644
--- /dev/null
+++ b/pypy/module/test_lib_pypy/test_sqlite3.py
@@ -0,0 +1,9 @@
+"""Tests for _sqlite3.py"""
+
+def test_list_ddl():
+    """From issue996.  Just looking for lack of exceptions."""
+    from sqlite3.dbapi2 import connect
+    connection = connect(':memory:')
+    cursor = connection.cursor()
+    cursor.execute('CREATE TABLE foo (bar INTEGER)')
+    result = list(cursor)


More information about the pypy-commit mailing list