Skip to content

Commit 10cbad7

Browse files
committed
Add xfail
1 parent 8a8b35b commit 10cbad7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_transforms_v2.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2085,6 +2085,8 @@ def fn(value):
20852085
def test_image_correctness(self, input_dtype, output_dtype, device, scale):
20862086
if input_dtype.is_floating_point and output_dtype == torch.int64:
20872087
pytest.xfail("float to int64 conversion is not supported")
2088+
if input_dtype == torch.uint8 and output_dtype == torch.uint16 and device == "cuda":
2089+
pytest.xfail("uint8 to uint16 conversion is not supported on cuda")
20882090

20892091
input = make_image(dtype=input_dtype, device=device)
20902092

0 commit comments

Comments
 (0)