Browse Source

tests: xfail vector floor division tests on Windows

Can't figure this one out for now.
rdb 4 years ago
parent
commit
f30019af13

+ 1 - 0
tests/linmath/test_lvector2.py

@@ -124,6 +124,7 @@ def test_vec2_ceil():
     assert rounded_vector.y == -2
 
 
[email protected](sys.platform == "win32", reason="unknown precision issue")
 @pytest.mark.parametrize("type", (core.LVecBase2f, core.LVecBase2d, core.LVecBase2i))
 def test_vec2_floordiv(type):
     with pytest.raises(ZeroDivisionError):

+ 1 - 0
tests/linmath/test_lvector3.py

@@ -109,6 +109,7 @@ def test_vec3_ceil():
     assert rounded_vector.z == 4
 
 
[email protected](sys.platform == "win32", reason="unknown precision issue")
 @pytest.mark.parametrize("type", (core.LVecBase3f, core.LVecBase3d, core.LVecBase3i))
 def test_vec3_floordiv(type):
     with pytest.raises(ZeroDivisionError):

+ 1 - 0
tests/linmath/test_lvector4.py

@@ -125,6 +125,7 @@ def test_vec4_ceil():
     assert rounded_vector.w == 1
 
 
[email protected](sys.platform == "win32", reason="unknown precision issue")
 @pytest.mark.parametrize("type", (core.LVecBase4f, core.LVecBase4d, core.LVecBase4i))
 def test_vec4_floordiv(type):
     with pytest.raises(ZeroDivisionError):