(self)
| 74 | assert other.a.missing == DefaultBox() |
| 75 | |
| 76 | def test_box_list_conversion(self): |
| 77 | bl = BoxList([{"a": 1}], box_class=DefaultBox) |
| 78 | assert type(bl[0]) is DefaultBox |
| 79 | assert bl[0].missing == DefaultBox() |
| 80 | |
| 81 | def test_ddbox_uses_defaults_and_can_be_overridden(self): |
| 82 | dd = DDBox({"a": {"b": 1}}) |
nothing calls this directly
no test coverage detected