Skip to content

Commit 94593ed

Browse files
cuentBorda
authored andcommitted
fix formatting
1 parent 562ea5c commit 94593ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/metrics/functional/test_classification.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@ def test_auroc(pred, target, expected):
272272
score = auroc(pred, target).item()
273273
assert score == expected
274274

275-
@pytest.mark.parametrize(['x', 'y', 'expected'],[
275+
276+
@pytest.mark.parametrize(['x', 'y', 'expected'], [
276277
pytest.param(torch.tensor([0, 1]), torch.tensor([0, 1]), 0.5),
277278
pytest.param(torch.tensor([1, 0]), torch.tensor([0, 1]), 0.5),
278279
pytest.param(torch.tensor([1, 0, 0]), torch.tensor([0, 1, 1]), 0.5),

0 commit comments

Comments
 (0)