"...source/git@developer.sourcefind.cn:OpenDAS/fairscale.git" did not exist on "274478d0ed8e1befa11995fbab9d6b4b136af75a"
Unverified Commit ec7f80be authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

fix error test for F.pad_mask (#8132)

parent 3eb4333e
......@@ -3641,7 +3641,7 @@ class TestPad:
@pytest.mark.parametrize("fill", [[1], (0,), [1, 0, 1], (0, 1, 0)])
def test_kernel_mask_errors(self, fill):
with pytest.raises(ValueError, match="Non-scalar fill value is not supported"):
check_kernel(F.pad_mask, make_segmentation_mask(), padding=[1], fill=fill)
F.pad_mask(make_segmentation_mask(), padding=[1], fill=fill)
def test_kernel_video(self):
check_kernel(F.pad_video, make_video(), padding=[1])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment