From: Mike Bayer Date: Mon, 28 Jul 2014 17:11:04 +0000 (-0400) Subject: - find the remaining not cleaning up correctly test X-Git-Tag: rel_1_0_0b1~266 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8574d5051adc0c3457ed650a49a25a6c4c4ea3d9;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - find the remaining not cleaning up correctly test --- diff --git a/test/sql/test_query.py b/test/sql/test_query.py index 23f6da0294..a475b899f5 100644 --- a/test/sql/test_query.py +++ b/test/sql/test_query.py @@ -230,6 +230,7 @@ class QueryTest(fixtures.TestBase): finally: table.drop(bind=engine) + # TODO: why not in the sqlite suite? @testing.only_on('sqlite+pysqlite') @testing.provide_metadata def test_lastrowid_zero(self): @@ -242,7 +243,7 @@ class QueryTest(fixtures.TestBase): return 0 eng.dialect.execution_ctx_cls = ExcCtx t = Table( - 't', MetaData(), Column('x', Integer, primary_key=True), + 't', self.metadata, Column('x', Integer, primary_key=True), Column('y', Integer)) t.create(eng) r = eng.execute(t.insert().values(y=5))