Skip to content

Commit f5db6b1

Browse files
authored
fixes #860 -- try to fix mypy (#861)
1 parent 9ffa598 commit f5db6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def flip_byte(original: bytes, byte_offset: int) -> bytes:
8080

8181
# Type safety: it's fine to use `...` here, but mypy config doesn't like it because it's
8282
# an explicit `Any`.
83-
def check_type_error( # type: ignore[misc]
83+
def check_type_error( # type: ignore[explicit-any]
8484
expected: str, f: Callable[..., object], *args: object
8585
) -> None:
8686
with pytest.raises(TypeError) as e:

0 commit comments

Comments
 (0)