diff --git a/tests/test_version_table.py b/tests/test_version_table.py index 92cb447..45a30df 100644 --- a/tests/test_version_table.py +++ b/tests/test_version_table.py @@ -35,8 +35,8 @@ class TestMigrationContext(TestBase): self.transaction = self.connection.begin() def tearDown(self): - version_table.drop(self.connection, checkfirst=True) self.transaction.rollback() + version_table.drop(self.connection, checkfirst=True) self.connection.close() def make_one(self, **kwargs): diff --git a/tox.ini b/tox.ini index 4291846..6505b52 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,9 @@ [tox] minversion=1.8.dev1 -envlist = py{27,33,34,35}-sqla{09,10,11}, py{27}-sqla{079,084} + +# current mysqlclient fails with <=SQLA 0.9 on py3k due to +# old unicode statements flag +envlist = py{27,33,34,35,36}-sqla{10,11}, py{27}-sqla{079,084,09} SQLA_REPO = {env:SQLA_REPO:git+http://git.sqlalchemy.org/sqlalchemy.git}