[pypy-commit] pypy default: Add an assert, as requested by Alex.
dripton
noreply at buildbot.pypy.org
Mon Jan 23 01:30:56 CET 2012
Author: David Ripton <dripton at 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 == []
More information about the pypy-commit
mailing list