(field: Any, field_name: str)
| 130 | |
| 131 | |
| 132 | def verify_int(field: Any, field_name: str) -> None: |
| 133 | verify_numeric(field, field_name) |
| 134 | if field is not None: |
| 135 | if not isinstance(field, int) or isinstance(field, bool): |
| 136 | raise SpecValidationError(f"{field_name} must be an integer") |
| 137 | |
| 138 | |
| 139 | def verify_non_negative_int(field: Any, field_name: str) -> None: |
no test coverage detected