From b168fa6a852be045c517be320d64d6e43836b4d7 Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 2 Sep 2018 21:02:35 +0200 Subject: [PATCH] tests: fix erroneous test_texture_clear_unsigned_byte test --- tests/gobj/test_texture.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gobj/test_texture.py b/tests/gobj/test_texture.py index c16e0732b3..4bf917a8c2 100644 --- a/tests/gobj/test_texture.py +++ b/tests/gobj/test_texture.py @@ -106,8 +106,8 @@ def test_texture_store_srgb_alpha(): def test_texture_clear_unsigned_byte(): - col = peek_tex_with_clear_color(Texture.T_float, Texture.F_rgba, (0, 1 / 255.0, 254 / 255.0, 255.0)) - assert col == LColor(0, 1 / 255.0, 254 / 255.0, 255.0) + col = peek_tex_with_clear_color(Texture.T_unsigned_byte, Texture.F_rgba, (0, 1 / 255.0, 254 / 255.0, 1.0)) + assert col == LColor(0, 1 / 255.0, 254 / 255.0, 1.0) def test_texture_clear_float():