Skip to content
Merged
Prev Previous commit
Next Next commit
Make style
  • Loading branch information
nemo committed Jun 6, 2025
commit 3fca72a4425e6ed0306a802f4de40e47c8a14c08
6 changes: 3 additions & 3 deletions tests/test_custom_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2477,9 +2477,9 @@ def test_multirank_2(self):
if isinstance(module, BaseTunerLayer):
rank_expected = rank_pattern.get(key, r)
rank_current = module.lora_A[adapter].weight.shape[0]
assert (
rank_current == rank_expected
), f"Rank {rank_current} is not equal to expected {rank_expected}"
assert rank_current == rank_expected, (
f"Rank {rank_current} is not equal to expected {rank_expected}"
)


class TestRepr(unittest.TestCase):
Expand Down
Loading