From 8b9ac74e9e17c49b31f15ba522382960cd0d5a10 Mon Sep 17 00:00:00 2001 From: radu Date: Sun, 23 Jun 2024 06:41:50 +0300 Subject: [PATCH] testing mlock --- examples/mlock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mlock.py b/examples/mlock.py index 2ee30ec..e0801b6 100644 --- a/examples/mlock.py +++ b/examples/mlock.py @@ -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)