Skip to content

Commit

Permalink
Correct tests
Browse files Browse the repository at this point in the history
  • Loading branch information
golmschenk committed Oct 10, 2024
1 parent 0ffb59f commit d464747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit_tests/test_lightning_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def create_fake_qusi_lightning_module() -> QusiLightningModule:


def create_fake_metric_group() -> MetricGroup:
fake_metric_group = MetricGroup(loss_metric=Mock(return_value=torch.tensor([1])),
fake_metric_group = MetricGroup(loss_metric=Mock(return_value=torch.tensor(1)),
state_based_logging_metrics=ModuleList([MockStateBasedMetric()]),
functional_logging_metrics=ModuleList([MockFunctionalMetric()]))
return fake_metric_group
Expand Down

0 comments on commit d464747

Please sign in to comment.