(self)
| 1374 | BoxList() + Box() |
| 1375 | |
| 1376 | def test_or_boxes(self): |
| 1377 | b = Box(c=1, d={"sub": 1}, e=1) |
| 1378 | c = dict(d={"val": 2}, e=4) |
| 1379 | assert b | c == Box(c=1, d={"val": 2}, e=4) |
| 1380 | with pytest.raises(BoxError): |
| 1381 | Box() | BoxList() |
| 1382 | |
| 1383 | def test_ior_boxes(self): |
| 1384 | b = Box(c=1, d={"sub": 1}, e=1) |