fix one more test (addresses #112)

This commit is contained in:
Jan Dittberner 2011-05-25 16:06:42 +02:00
parent e11a9e5cba
commit 24031b7e82

View File

@ -149,6 +149,9 @@ class TestAddDropColumn(fixture.DB):
def add_func(col):
return self.table.create_column(col)
def drop_func(col):
if SQLA_07:
self.table._columns.remove(col)
else:
self.table.c.remove(col)
return self.table.drop_column(col.name)
self.run_(add_func, drop_func)