File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -409,7 +409,7 @@ def test_draw_segmentation_masks_errors(device):
409409 utils .draw_segmentation_masks (image = img , masks = masks_bad_shape )
410410 with pytest .raises (ValueError , match = "Number of colors must be equal or larger than the number of objects" ):
411411 utils .draw_segmentation_masks (image = img , masks = masks , colors = [])
412- with pytest .raises (ValueError , match = "` colors` must be a tuple or a string, or a list thereof" ):
412+ with pytest .raises (ValueError , match = "colors must be a tuple or a string, or a list thereof" ):
413413 bad_colors = np .array (["red" , "blue" ]) # should be a list
414414 utils .draw_segmentation_masks (image = img , masks = masks , colors = bad_colors )
415415 with pytest .raises (ValueError , match = "If passed as tuple, colors should be an RGB triplet" ):
You can’t perform that action at this time.
0 commit comments