diff options
Diffstat (limited to 'test/engine/test_parseconnect.py')
-rw-r--r-- | test/engine/test_parseconnect.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/engine/test_parseconnect.py b/test/engine/test_parseconnect.py index 1c1ab6aad..ef15cde9f 100644 --- a/test/engine/test_parseconnect.py +++ b/test/engine/test_parseconnect.py @@ -232,7 +232,8 @@ pool_timeout=10 # "Cannot operate on a closed database." error # on connect. IRL we'd be getting Oracle's "shutdown in progress" - import sqlite3 + e = create_engine('sqlite://') + sqlite3 = e.dialect.dbapi class ThrowOnConnect(MockDBAPI): dbapi = sqlite3 Error = sqlite3.Error |