Skip to content

Commit 7edb46d

Browse files
authored
Fix mypy override error in ArmTester.run_method_and_compare_outputs (#17694)
Add missing `artifact_dir` and `artifact_name` positional parameters to match the base class `Tester` signature, resolving the mypy `[override]` incompatibility.
1 parent 8bcfd1a commit 7edb46d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

backends/arm/test/tester/arm_tester.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,8 @@ def run_method_and_compare_outputs(
474474
rtol: float = 1e-03,
475475
qtol: int = 0,
476476
statistics_callback: Callable[[ErrorStatistics], None] | None = None,
477-
# Preserve positional compatibility while keeping new flags keyword-only.
477+
artifact_dir: Optional[str] = None,
478+
artifact_name: Optional[str] = None,
478479
*,
479480
reference_stage_type: StageType | None = None,
480481
compare_callback: Optional[Callable[..., None]] = None,

0 commit comments

Comments
 (0)