Function
verify
(
mismatch_list: list[tuple[str, Any, Any, MismatchSeverity]],
name: str,
this: Any,
original: Any,
severity: MismatchSeverity,
)
Source from the content-addressed store, hash-verified
| 199 | package_mismatches = [] |
| 200 | |
| 201 | def verify( |
| 202 | mismatch_list: list[tuple[str, Any, Any, MismatchSeverity]], |
| 203 | name: str, |
| 204 | this: Any, |
| 205 | original: Any, |
| 206 | severity: MismatchSeverity, |
| 207 | ): |
| 208 | nonlocal mismatch_severity |
| 209 | if this != original: |
| 210 | mismatch_list.append((name, this, original, severity)) |
| 211 | if mismatch_severity is None: |
| 212 | mismatch_severity = severity |
| 213 | else: |
| 214 | mismatch_severity = max(severity, mismatch_severity) |
| 215 | |
| 216 | if "system" in reproduction_information: |
| 217 | system = reproduction_information["system"] |
Tested by
no test coverage detected