From cef70a4fe5ac73c7088cdf2ccabee77fca0b035b Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 4 Jan 2020 01:20:18 +0100 Subject: [PATCH] tests: remove __gt__ asserts from test_shaderinput_vector_compare This fails in Python 2, and we don't actually provide this operator or make any guarantees about greater-than ordering, so it was silly to test for it to begin with. --- tests/pgraph/test_shaderinput.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/pgraph/test_shaderinput.py b/tests/pgraph/test_shaderinput.py index d046394dcd..68bb6b2e24 100644 --- a/tests/pgraph/test_shaderinput.py +++ b/tests/pgraph/test_shaderinput.py @@ -30,15 +30,3 @@ def test_shaderinput_vector_compare(): assert i1 < i2 assert i2 < i3 assert i1 < i3 - - assert not i0 > i0 - assert not i1 > i1 - assert not i2 > i2 - assert not i3 > i3 - - assert i3 > i1 - assert i2 > i1 - assert i3 > i2 - assert i1 > i0 - assert i2 > i0 - assert i3 > i0