Skip to content

Commit

Permalink
Fix ruff in uts
Browse files Browse the repository at this point in the history
  • Loading branch information
sovrasov committed Aug 12, 2024
1 parent 10a557b commit 97558ad
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tests/unit/core/model/test_visual_prompting.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,9 @@ def test_customize_outputs_training(
[
{
1: PredictedMask(mask=[[1, 2, 3], [4, 5, 6]], points=[[13, 14, 15], [16, 17, 18]], scores=[1, 1]),
2: PredictedMask(mask=[[7, 8, 9], [10, 11, 12]], points=[[19, 20, 21], [22, 23, 24]], scores=[1, 1]),
2: PredictedMask(
mask=[[7, 8, 9], [10, 11, 12]], points=[[19, 20, 21], [22, 23, 24]], scores=[1, 1]
),
},
],
[
Expand All @@ -547,11 +549,15 @@ def test_customize_outputs_training(
[
{
1: PredictedMask(mask=[[1, 2, 3], [4, 5, 6]], points=[[13, 14, 15], [16, 17, 18]], scores=[1, 1]),
2: PredictedMask(mask=[[7, 8, 9], [10, 11, 12]], points=[[19, 20, 21], [22, 23, 24]], scores=[1, 1]),
2: PredictedMask(
mask=[[7, 8, 9], [10, 11, 12]], points=[[19, 20, 21], [22, 23, 24]], scores=[1, 1]
),
},
{
1: PredictedMask(mask=[[1, 2, 3], [4, 5, 6]], points=[[13, 14, 15], [16, 17, 18]], scores=[1, 1]),
2: PredictedMask(mask=[[7, 8, 9], [10, 11, 12]], points=[[19, 20, 21], [22, 23, 24]], scores=[1, 1]),
2: PredictedMask(
mask=[[7, 8, 9], [10, 11, 12]], points=[[19, 20, 21], [22, 23, 24]], scores=[1, 1]
),
},
],
],
Expand Down

0 comments on commit 97558ad

Please sign in to comment.