Skip to content

Commit 2d5ea4a

Browse files
committed
tests
1 parent c4886fa commit 2d5ea4a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/lock_and_zeroize.py

-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@
99
print("allocate memory")
1010

1111
# regular array
12-
# max size you can lock is 4MB, at least on Linux
1312
arr = bytearray(b"1234567890")
1413

1514
# numpy array
16-
# max size you can lock is 4MB, at least on Linux
1715
arr_np = np.array([0] * 10, dtype=np.uint8)
1816
arr_np[:] = arr
1917
assert arr_np.tobytes() == b"1234567890"

0 commit comments

Comments
 (0)