()
| 146 | |
| 147 | |
| 148 | def test_drop(): |
| 149 | td = TabularData(["col1", "col2", "col3", "other"]) |
| 150 | td.append(["foo", "bar", "baz", "other_val"]) |
| 151 | assert list(td) == [["foo", "bar", "baz", "other_val"]] |
| 152 | td.drop("col2") |
| 153 | assert td.keys() == ["col1", "col3", "other"] |
| 154 | assert list(td) == [["foo", "baz", "other_val"]] |
| 155 | |
| 156 | |
| 157 | def test_protected(): |
nothing calls this directly
no test coverage detected