Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Style

ananyamukh62a970d492945
diff --git a/test/color/test_yuv.py b/test/color/test_yuv.py
index dc832f90c..4abf25eb7 100644
--- a/test/color/test_yuv.py
+++ b/test/color/test_yuv.py
@@ -70,12 +70,12 @@ class TestRgbYuvConversion:
with pytest.raises(TypeError):
out = kornia.yuv_to_rgb(1)
- @pytest.mark.parametrize("bad_input_shapes", [([2,2],), ([3,3,3,3,3],), ([2,2,2],), ([2,2,2,2],)])
+ @pytest.mark.parametrize("bad_input_shapes", [([2, 2],), ([3, 3, 3, 3, 3],), ([2, 2, 2],), ([2, 2, 2, 2],)])
def test_rgb_to_yuv_shape(self, bad_input_shapes):
with pytest.raises(ValueError):
out = kornia.rgb_to_yuv(torch.ones(*bad_input_shapes))
- @pytest.mark.parametrize("bad_input_shapes", [([2,2],), ([3,3,3,3,3],), ([2,2,2],), ([2,2,2,2],)])
+ @pytest.mark.parametrize("bad_input_shapes", [([2, 2],), ([3, 3, 3, 3, 3],), ([2, 2, 2],), ([2, 2, 2, 2],)])
def test_yuv_to_rbg_shape(self, bad_input_shapes):
with pytest.raises(ValueError):
out = kornia.yuv_to_rgb(torch.ones(*bad_input_shapes))