Skip to content

Commit 60a0fca

Browse files
committed
black code formatter
1 parent d71990d commit 60a0fca

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_weighting/test_ntk_weighting.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ def test_constructor(model, alpha):
2424
NeuralTangetKernelWeighting(model=model, alpha=alpha)
2525

2626

27-
@pytest.mark.parametrize("model", [(0.5)])
27+
@pytest.mark.parametrize("model", [0.5])
2828
def test_wrong_constructor1(model):
2929
with pytest.raises(TypeError):
3030
NeuralTangetKernelWeighting(model)
3131

32+
3233
@pytest.mark.parametrize(
3334
"model,alpha",
3435
[
@@ -45,8 +46,6 @@ def test_wrong_constructor2(model, alpha):
4546
NeuralTangetKernelWeighting(model, alpha)
4647

4748

48-
49-
5049
@pytest.mark.parametrize(
5150
"model,alpha",
5251
[

0 commit comments

Comments
 (0)