(val)
| 1344 | pass |
| 1345 | |
| 1346 | def cast_id(val) -> int: |
| 1347 | if val == "bad_id": |
| 1348 | raise CustomError() |
| 1349 | return int(val) |
| 1350 | |
| 1351 | b = Box(id="6", box_recast={"id": cast_id}) |
| 1352 | assert isinstance(b.id, int) |
nothing calls this directly
no test coverage detected