Author: David Ripton <drip...@ripton.net>
Branch: 
Changeset: r51681:fd6e2144e652
Date: 2012-01-22 18:30 -0500
http://bitbucket.org/pypy/pypy/changeset/fd6e2144e652/

Log:    Add an assert, as requested by Alex.

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
@@ -1,9 +1,10 @@
 """Tests for _sqlite3.py"""
 
 def test_list_ddl():
-    """From issue996.  Just looking for lack of exceptions."""
+    """From issue996.  Mostly 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)
+    assert result == []
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to