Skip to content

Commit

Permalink
testing mlock
Browse files Browse the repository at this point in the history
  • Loading branch information
radu committed Jun 23, 2024
1 parent d69daf4 commit 8b9ac74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/mlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def setup_memory_limit():
zeroize1(arr)
zeroize1(arr_np)
zeroize1(array_array)
assert arr = bytearray(int(size * 1024 * 1024))
assert arr == bytearray(int(size * 1024 * 1024))
assert all(arr_np == 0)
assert all(byte == 0 for byte in array_array)

Expand Down

0 comments on commit 8b9ac74

Please sign in to comment.