(self)
| 1309 | BoxList() + Box() |
| 1310 | |
| 1311 | def test_or_boxes(self): |
| 1312 | b = Box(c=1, d={"sub": 1}, e=1) |
| 1313 | c = dict(d={"val": 2}, e=4) |
| 1314 | assert b | c == Box(c=1, d={"val": 2}, e=4) |
| 1315 | with pytest.raises(BoxError): |
| 1316 | Box() | BoxList() |
| 1317 | |
| 1318 | def test_ior_boxes(self): |
| 1319 | b = Box(c=1, d={"sub": 1}, e=1) |