Skip to content

Commit

Permalink
Fix tests under Python 3.6 + SQLite memory DB
Browse files Browse the repository at this point in the history
  • Loading branch information
phdru committed Mar 26, 2017
1 parent ca89f87 commit aa993f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlobject/tests/dbtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def getConnection(**kw):
conn.debug = True
if conftest.option.show_sql_output:
conn.debugOutput = True
if conn.dbName == 'sqlite':
if (conn.dbName == 'sqlite') and not conn._memory:
speedupSQLiteConnection(conn)
return conn

Expand Down

0 comments on commit aa993f0

Please sign in to comment.