Author: Brian Kearns <[email protected]>
Branch: cleanup-tests
Changeset: r60886:9e7230d8f10c
Date: 2013-02-05 17:45 -0500
http://bitbucket.org/pypy/pypy/changeset/9e7230d8f10c/
Log: this should always import lib_pypy's sqlite3, never the host's
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
@@ -2,7 +2,7 @@
def test_list_ddl():
"""From issue996. Mostly just looking for lack of exceptions."""
- from sqlite3.dbapi2 import connect
+ from lib_pypy._sqlite3 import connect
connection = connect(':memory:')
cursor = connection.cursor()
cursor.execute('CREATE TABLE foo (bar INTEGER)')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit