Skip to content

Commit 814c068

Browse files
committed
Fix uniqueness condition in one of the tests causing rare failures
1 parent a9e3339 commit 814c068

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_kdf_chain.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ async def test_kdf_chain() -> None:
4141

4242
initial_key_set: Set[bytes] = set()
4343
input_data_set: Set[bytes] = set()
44-
output_data_set: Set[bytes] = set()
4544

4645
for _ in range(25):
46+
output_data_set: Set[bytes] = set()
47+
4748
# Generate random parameters
4849
while True:
4950
initial_key = generate_unique_random_data(0, 2 ** 16, initial_key_set)

0 commit comments

Comments
 (0)