diff options
author | Diana Clarke <diana.joan.clarke@gmail.com> | 2011-02-28 23:55:34 -0500 |
---|---|---|
committer | Diana Clarke <diana.joan.clarke@gmail.com> | 2011-02-28 23:55:34 -0500 |
commit | 2d71ec27660db496342d0f3fab456c5ebd1a2777 (patch) | |
tree | 43ff5331217e5c94526cf084b8c37921a44f874c /test/engine/test_parseconnect.py | |
parent | c594b58f0b8cf72d49cc6bf748b5e4851a1f9c2c (diff) | |
download | sqlalchemy-2d71ec27660db496342d0f3fab456c5ebd1a2777.tar.gz |
see #2060
Diffstat (limited to 'test/engine/test_parseconnect.py')
-rw-r--r-- | test/engine/test_parseconnect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/engine/test_parseconnect.py b/test/engine/test_parseconnect.py index ee9af60bf..f80bf3045 100644 --- a/test/engine/test_parseconnect.py +++ b/test/engine/test_parseconnect.py @@ -2,7 +2,7 @@ from test.lib.testing import assert_raises, assert_raises_message, eq_ import ConfigParser import StringIO import sqlalchemy.engine.url as url -from sqlalchemy import create_engine, engine_from_config +from sqlalchemy import create_engine, engine_from_config, exc from sqlalchemy.engine import _coerce_config import sqlalchemy as tsa from test.lib import TestBase @@ -177,7 +177,7 @@ pool_timeout=10 assert e.pool._recycle == 472 def test_badargs(self): - assert_raises(ImportError, create_engine, 'foobar://', + assert_raises(exc.ArgumentError, create_engine, 'foobar://', module=mock_dbapi) # bad arg |