Skip to content

Commit 8343f06

Browse files
committed
fix: alpha_color param type (oops)
1 parent 1a695bb commit 8343f06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_image_diff/image_diff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _diff(
6969
image_path: PathOrFileType,
7070
diff_path: PathOrFileType,
7171
color_mode: Union[ColorModeType, None] = None,
72-
alpha_color: tuple[int, int, int] = ALPHA_COLOR,
72+
alpha_color: ColorType = ALPHA_COLOR,
7373
) -> float:
7474
ref_im = Image.open(ref_path)
7575
im = Image.open(image_path)

0 commit comments

Comments
 (0)