Skip to content

Commit

Permalink
Release: v0.28.0.rc0
Browse files Browse the repository at this point in the history
  • Loading branch information
hanouticelina committed Jan 28, 2025
1 parent 1d0999d commit 8264eb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/huggingface_hub/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
from typing import TYPE_CHECKING


__version__ = "0.27.0.dev0"
__version__ = "0.28.0.rc0"

# Alphabetical order of definitions is ensured in tests
# WARNING: any comment added in this dictionary definition will be lost when
Expand Down
6 changes: 3 additions & 3 deletions tests/testing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,9 @@ def _inner(*args, **kwargs):
if name == "self":
continue
assert parameter.annotation is Mock
assert name in mocks, (
f"Mock `{name}` not found for test `{fn.__name__}`. Available: {', '.join(sorted(mocks.keys()))}"
)
assert (
name in mocks
), f"Mock `{name}` not found for test `{fn.__name__}`. Available: {', '.join(sorted(mocks.keys()))}"
new_kwargs[name] = mocks[name]

# Run test only with a subset of mocks
Expand Down

0 comments on commit 8264eb8

Please sign in to comment.