Skip to content
Snippets Groups Projects
Commit 758eb885 authored by vlorentz's avatar vlorentz
Browse files

tests: Clean hashutil._blake2_hash_cache after mocking blake2 functions.

Depending on the order in which tests are run, these tests may insert
lambdas with mocked blake2 functions in their closure to be inserted in
hashutil._blake2_hash_cache; causing all future tests to fail.

While this does not happen with the default order of tests, it does when
using pytest-xdist.
parent 0c165812
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment