(self)
| 429 | bl[1].Name = "Pat" |
| 430 | |
| 431 | def test_bad_csv(self): |
| 432 | data = BoxList([{"test": 1}, {"bad": 2, "data": 3}]) |
| 433 | file = Path(tmp_dir, "csv_file.csv") |
| 434 | with pytest.raises(BoxError): |
| 435 | data.to_csv(file) |
| 436 | |
| 437 | def test_toon_strings(self): |
| 438 | bl = BoxList([{"item": 1, "name": "test"}, {"item": 2, "name": "two"}]) |