From f3d51fd72ce79d5ace504a0ceceb71246a92be05 Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 24 Feb 2023 23:00:46 +0100 Subject: [PATCH] tests: Don't rely on png being available for TexturePool tests Instead, use SGI image format, support for which is generally enabled in Panda --- tests/gobj/test_texture_pool.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/gobj/test_texture_pool.py b/tests/gobj/test_texture_pool.py index 96a5db1ffc..822da36583 100644 --- a/tests/gobj/test_texture_pool.py +++ b/tests/gobj/test_texture_pool.py @@ -46,19 +46,19 @@ def pool(): @pytest.fixture(scope='session') def image_gray_path(): "Generates a grayscale image." - yield from yield_image('-gray.png', channels=1) + yield from yield_image('.bw', channels=1) @pytest.fixture(scope='session') def image_rgb_path(): "Generates an RGB image." - yield from yield_image('-rgb.png', channels=3) + yield from yield_image('.rgb', channels=3) @pytest.fixture(scope='session') def image_rgba_path(): "Generates an RGBA image." - yield from yield_image('-rgba.png', channels=4) + yield from yield_image('.rgba', channels=4) @pytest.fixture(scope='function')