Skip to content

Commit 61d0755

Browse files
rchen152copybara-github
authored andcommitted
Silence some pytype errors.
PiperOrigin-RevId: 520144294
1 parent 06a0bcd commit 61d0755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openhtf/core/test_state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ def _set_postdiagnosis_phase_outcome(self) -> None:
844844
if self.phase_record.outcome == test_record.PhaseOutcome.ERROR:
845845
return
846846
# Check for errors during diagnoser execution.
847-
if self.result is None or self.result.is_terminal:
847+
if self.result is None or self.result.is_terminal: # pytype: disable=attribute-error # always-use-return-annotations
848848
self.logger.debug('Phase outcome of %s is ERROR due to diagnoses.',
849849
self.name)
850850
self.phase_record.outcome = test_record.PhaseOutcome.ERROR

0 commit comments

Comments
 (0)