diff --git a/src/img2pdf_test.py b/src/img2pdf_test.py index f89fa74..342a120 100755 --- a/src/img2pdf_test.py +++ b/src/img2pdf_test.py @@ -1628,7 +1628,7 @@ def png_gray1_img(tmp_path_factory, tmp_gray1_png): "y": 0, }, str(identify) assert identify[0]["image"].get("colorspace") == "Gray", str(identify) - assert identify[0]["image"].get("type") == "Bilevel", str(identify) + assert identify[0]["image"].get("type") in ["Bilevel", "Grayscale"], str(identify) assert identify[0]["image"].get("depth") == 1, str(identify) assert identify[0]["image"].get("pageGeometry") == { "width": 60,