Skip to content

Commit 8462e25

Browse files
committed
Remove obsolete unit test
1 parent b77b25c commit 8462e25

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

tests/models/test_task.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,3 @@ def test_transform_prediction_and_target() -> None:
3535
transform_target=torch.log10,
3636
transform_inference=torch.log10,
3737
)
38-
39-
# Test wrong combination of inputs
40-
with pytest.raises(
41-
AssertionError,
42-
match=(
43-
"Please specify both `transform_inference` and `transform_target`"
44-
),
45-
):
46-
EnergyReconstruction(
47-
hidden_size=gnn.nb_outputs,
48-
target_labels="energy",
49-
loss_function=LogCoshLoss(),
50-
transform_prediction_and_target=torch.log10,
51-
transform_inference=torch.log10,
52-
)

0 commit comments

Comments
 (0)