Skip to content

Commit ce7075c

Browse files
committed
avoid hard-coded angle
1 parent a3f55b1 commit ce7075c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_transforms_v2_refactored.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ def test_kernel_image_tensor(self, param, value, dtype, device):
14501450
def test_kernel_bounding_box(self, param, value, format, dtype, device):
14511451
kwargs = {param: value}
14521452
if param != "angle":
1453-
kwargs["angle"] = -10.9
1453+
kwargs["angle"] = self._MINIMAL_AFFINE_KWARGS["angle"]
14541454

14551455
bounding_box = make_input(datapoints.BoundingBox, dtype=dtype, device=device, format=format)
14561456

0 commit comments

Comments
 (0)