mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-09 03:15:00 +08:00
[Bugfix] TypeError: 'NoneType' object is not callable (#29414)
Signed-off-by: Marcin Ostrowski <marcinx.ostrowski@intel.com>
This commit is contained in:
parent
b95db244ee
commit
5cfa967efa
@ -45,7 +45,7 @@ pytestmark = pytest.mark.cpu_test
|
||||
def _auto_init_hash_fn(request):
|
||||
hash_fn: Callable
|
||||
if "hash_fn" in request.fixturenames:
|
||||
hash_fn = init_none_hash(request.getfixturevalue("hash_fn"))
|
||||
hash_fn = request.getfixturevalue("hash_fn")
|
||||
else:
|
||||
hash_fn = sha256
|
||||
init_none_hash(hash_fn)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user