Commits

Brian Kearns committed b6d2a9b

this should always import lib_pypy's sqlite3, never the host's
(transplanted from 9e7230d8f10c39195ff46b9950be20e7d026f320)

  • Participants
  • Parent commits 10d502e

Comments (0)

Files changed (1)

pypy/module/test_lib_pypy/test_sqlite3.py

 
 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)')