From: Mike Bayer Date: Thu, 28 Jan 2016 22:16:55 +0000 (-0500) Subject: - use schema argument correctly when we are dropping for a schema X-Git-Tag: rel_1_1_0b1~98^2~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13dfc532ac02657d75da40cc52d97b3b50a6bcfe;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - use schema argument correctly when we are dropping for a schema --- diff --git a/lib/sqlalchemy/testing/util.py b/lib/sqlalchemy/testing/util.py index e9437948a3..8e1226c347 100644 --- a/lib/sqlalchemy/testing/util.py +++ b/lib/sqlalchemy/testing/util.py @@ -248,7 +248,7 @@ def drop_all_tables(engine, inspector, schema=None, include_names=None): if include_names is not None and tname not in include_names: continue conn.execute(DropTable( - Table(tname, MetaData()) + Table(tname, MetaData(), schema=schema) )) elif fkcs: if not engine.dialect.supports_alter: