From 9505cb1553096b87c15c23ca6343cdc255d027d7 Mon Sep 17 00:00:00 2001 From: shrey kharbanda Date: Thu, 24 Sep 2026 08:52:19 +0000 Subject: [PATCH] test(images): cover bmp v5 header parsing --- tests/test_litellm/images/test_dimensions.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_litellm/images/test_dimensions.py b/tests/test_litellm/images/test_dimensions.py index 122ac3862e1..b24d6f59a76 100644 --- a/tests/test_litellm/images/test_dimensions.py +++ b/tests/test_litellm/images/test_dimensions.py @@ -177,6 +177,11 @@ def _dims(width: int, height: int) -> ImageDimensions: _dims(640, 480), id="bmp-v4header", ), + pytest.param( + b"BM" + bytes(12) + struct.pack("