diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-07-28 13:11:04 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-07-28 13:11:04 -0400 |
commit | 8574d5051adc0c3457ed650a49a25a6c4c4ea3d9 (patch) | |
tree | e852881694e49e96beb5283b978627f322e7f849 | |
parent | 1cb94d89d5c4db7a914d9f30ebe0b676ab4e175b (diff) | |
download | sqlalchemy-8574d5051adc0c3457ed650a49a25a6c4c4ea3d9.tar.gz |
- find the remaining not cleaning up correctly test
-rw-r--r-- | test/sql/test_query.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/sql/test_query.py b/test/sql/test_query.py index 23f6da029..a475b899f 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)) |