From 93e0f39ff3614e865bf4e177e12b916d46d5a990 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 21 Oct 2023 19:14:46 +1100 Subject: [PATCH] Removed "mode-" prefix from image names that are not modes --- Tests/images/{mode-ati1.dds => ati1.dds} | Bin Tests/images/{mode-ati1.png => ati1.png} | Bin Tests/images/{mode-ati2.dds => ati2.dds} | Bin Tests/test_file_dds.py | 6 +++--- 4 files changed, 3 insertions(+), 3 deletions(-) rename Tests/images/{mode-ati1.dds => ati1.dds} (100%) rename Tests/images/{mode-ati1.png => ati1.png} (100%) rename Tests/images/{mode-ati2.dds => ati2.dds} (100%) diff --git a/Tests/images/mode-ati1.dds b/Tests/images/ati1.dds similarity index 100% rename from Tests/images/mode-ati1.dds rename to Tests/images/ati1.dds diff --git a/Tests/images/mode-ati1.png b/Tests/images/ati1.png similarity index 100% rename from Tests/images/mode-ati1.png rename to Tests/images/ati1.png diff --git a/Tests/images/mode-ati2.dds b/Tests/images/ati2.dds similarity index 100% rename from Tests/images/mode-ati2.dds rename to Tests/images/ati2.dds diff --git a/Tests/test_file_dds.py b/Tests/test_file_dds.py index fbc523ed1b4..72bb2df7b9e 100644 --- a/Tests/test_file_dds.py +++ b/Tests/test_file_dds.py @@ -10,8 +10,8 @@ TEST_FILE_DXT1 = "Tests/images/dxt1-rgb-4bbp-noalpha_MipMaps-1.dds" TEST_FILE_DXT3 = "Tests/images/dxt3-argb-8bbp-explicitalpha_MipMaps-1.dds" TEST_FILE_DXT5 = "Tests/images/dxt5-argb-8bbp-interpolatedalpha_MipMaps-1.dds" -TEST_FILE_ATI1 = "Tests/images/mode-ati1.dds" -TEST_FILE_ATI2 = "Tests/images/mode-ati2.dds" +TEST_FILE_ATI1 = "Tests/images/ati1.dds" +TEST_FILE_ATI2 = "Tests/images/ati2.dds" TEST_FILE_DX10_BC5_TYPELESS = "Tests/images/bc5_typeless.dds" TEST_FILE_DX10_BC5_UNORM = "Tests/images/bc5_unorm.dds" TEST_FILE_DX10_BC5_SNORM = "Tests/images/bc5_snorm.dds" @@ -347,7 +347,7 @@ def test_open(mode, test_file): ("LA", "Tests/images/uncompressed_la.png"), ("RGB", "Tests/images/hopper.png"), ("RGBA", "Tests/images/pil123rgba.png"), - ("L", "Tests/images/mode-ati1.dds"), + ("L", TEST_FILE_ATI1), ], ) def test_save(mode, test_file, tmp_path):