Skip to content

Commit 1ccfad4

Browse files
committed
Fix type checking for unknown method in score_decoded_text test
1 parent 539bdce commit 1ccfad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_word_salat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def test_score_decoded_text_logs_when_name_supplied(self) -> None:
121121

122122
def test_score_decoded_text_rejects_unknown_method(self) -> None:
123123
with self.assertRaises(ValueError):
124-
score_decoded_text("a", "a", method="unknown")
124+
score_decoded_text("a", "a", method="unknown") # type: ignore[arg-type]
125125

126126

127127
if __name__ == "__main__":

0 commit comments

Comments
 (0)