Unverified Commit 5cfa967e authored by Marcin Ostrowski's avatar Marcin Ostrowski Committed by GitHub
Browse files

[Bugfix] TypeError: 'NoneType' object is not callable (#29414)


Signed-off-by: default avatarMarcin Ostrowski <marcinx.ostrowski@intel.com>
parent b95db244
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment