- changed status to resolved
create_engine raises AttributeError
I checked out revision 2530 to take the new Informix binding for a test drive. The test fails immediately with this traceback:
Traceback (most recent call last): File "test/alltests.py", line 1, in <module> import testbase File "/home/carsten/stuff/sqlalchemy/sqlalchemy/test/testbase.py", line 396, in <module> parse_argv() File "/home/carsten/stuff/sqlalchemy/sqlalchemy/test/testbase.py", line 104, in parse_argv db = engine.create_engine(db_uri, opts) File "./lib/sqlalchemy/engine/init.py", line 154, in create_engine return strategy.create(*args, kwargs) File "./lib/sqlalchemy/engine/strategies.py", line 55, in create for k in util.get_func_kwargs(dialect_cls.dbapi): AttributeError: type object 'InfoDialect' has no attribute 'dbapi'
The attached patch corrects this.
Comments (1)
-
repo owner - Log in to comment
yup, that was a recent change in the way dbapi() is constructed to support
#521, thanks - changeset:2531