Skip to content

Commit

Permalink
fixed ruff issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rijuld committed Jan 19, 2025
1 parent 5de36d4 commit 7c8c71a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/datasets/test_substation.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_getitem_semantic(self, config: dict[str, Any]) -> None:
assert isinstance(x, dict), f'Expected dict, got {type(x)}'
assert isinstance(x['image'], torch.Tensor), (
'Expected image to be a torch.Tensor'
)
)
assert isinstance(x['mask'], torch.Tensor), 'Expected mask to be a torch.Tensor'

def test_len(self, dataset: Substation) -> None:
Expand Down

0 comments on commit 7c8c71a

Please sign in to comment.