From cd95e8a4c1c8c6f4495be6904f1bd908901a5d62 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 22 Mar 2025 09:44:42 +1100 Subject: [PATCH] Renamed variable --- Tests/test_file_dds.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/test_file_dds.py b/Tests/test_file_dds.py index 3a1aab00c..1c33ca8f4 100644 --- a/Tests/test_file_dds.py +++ b/Tests/test_file_dds.py @@ -505,9 +505,9 @@ def test_save_dxt5(tmp_path: Path) -> None: def test_save_dx10_bc5(tmp_path: Path) -> None: out = tmp_path / "temp.dds" - with Image.open(TEST_FILE_DX10_BC5_TYPELESS) as im: - im.save(out, pixel_format="BC5") - assert_image_similar_tofile(im, out, 9.56) + with Image.open(TEST_FILE_DX10_BC5_TYPELESS) as img: + img.save(out, pixel_format="BC5") + assert_image_similar_tofile(img, out, 9.56) im = hopper("L") with pytest.raises(OSError, match="only RGB mode can be written as BC5"):