Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 20, 2025
1 parent c2888a3 commit fb1e9e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/transforms/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ def test_transforms_subject_4d(self):
'CopyAffine',
)
if transform.name not in exclude:
assert (
subject.shape[0] == transformed.shape[0]
), f'Different number of channels after {transform.name}'
assert subject.shape[0] == transformed.shape[0], (
f'Different number of channels after {transform.name}'
)
self.assert_tensor_not_equal(
subject.t1.data[1],
transformed.t1.data[1],
Expand Down

0 comments on commit fb1e9e4

Please sign in to comment.