test to reproduce the bug

This commit is contained in:
Martín Gaitán 2015-06-25 19:53:43 -03:00
parent 61b33d9d4f
commit f6336e1808

View File

@ -309,6 +309,10 @@ class TableTestCase(unittest.TestCase):
assert len(list(cols)) == 4, 'column count mismatch'
assert 'date' in cols and 'temperature' in cols and 'place' in cols
def test_drop_column(self):
self.tbl.drop_column('date')
assert 'date' not in self.tbl.columns
def test_iter(self):
c = 0
for row in self.tbl: