(val)
| 1409 | pass |
| 1410 | |
| 1411 | def cast_id(val) -> int: |
| 1412 | if val == "bad_id": |
| 1413 | raise CustomError() |
| 1414 | return int(val) |
| 1415 | |
| 1416 | b = Box(id="6", box_recast={"id": cast_id}) |
| 1417 | assert isinstance(b.id, int) |
nothing calls this directly
no test coverage detected