From 5cfa967efa3525e97565979ab04118977e0b3bb3 Mon Sep 17 00:00:00 2001 From: Marcin Ostrowski Date: Mon, 1 Dec 2025 14:16:44 +0100 Subject: [PATCH] [Bugfix] TypeError: 'NoneType' object is not callable (#29414) Signed-off-by: Marcin Ostrowski --- tests/v1/core/test_prefix_caching.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/v1/core/test_prefix_caching.py b/tests/v1/core/test_prefix_caching.py index 64fd5ab1d..0880a17c7 100644 --- a/tests/v1/core/test_prefix_caching.py +++ b/tests/v1/core/test_prefix_caching.py @@ -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)