Commits

David Ripton committed 6141b73

Failing test for issue 996

Comments (0)

Files changed (1)

pypy/module/test_lib_pypy/test_sqlite3.py

+"""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)