Skip to content

Commit 398ddb3

Browse files
authored
Update Lib/test/test_hashlib.py
1 parent 98ec915 commit 398ddb3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_hashlib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,8 +1089,8 @@ def do_test_threaded_hashing(self, constructor, is_shake):
10891089
smallest_data = os.urandom(8)
10901090
data = smallest_data * 200000
10911091

1092-
h1 = constructor()
1093-
h2 = constructor(data * num_threads)
1092+
h1 = constructor(usedforsecurity=False)
1093+
h2 = constructor(data * num_threads, usedforsecurity=False)
10941094

10951095
def hash_in_chunks(chunk_size):
10961096
index = 0

0 commit comments

Comments
 (0)