Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
willdumm committed Nov 13, 2024
1 parent 268b713 commit 28d7249
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_pretrained.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

def test_names_unique():
# Check all defined models can be loaded and they have unique names
assert len(set(pretrained.MODEL_TO_LOCAL.keys())) == sum(len(models) for _, _, _, models in pretrained.PACKAGE_LOCATIONS_AND_CONTENTS)
assert len(set(pretrained.MODEL_TO_LOCAL.keys())) == sum(
len(models) for _, _, _, models in pretrained.PACKAGE_LOCATIONS_AND_CONTENTS
)


def test_load_all_models():
Expand Down

0 comments on commit 28d7249

Please sign in to comment.