From 56b451ac0c974f2c49a2245e68ee702d34237a85 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Fri, 7 Nov 2025 04:33:51 +0000 Subject: [PATCH] Test cleanup, remove debug. --- tests/test_encrypt.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/test_encrypt.py b/tests/test_encrypt.py index db25e25..a60aab7 100644 --- a/tests/test_encrypt.py +++ b/tests/test_encrypt.py @@ -1,8 +1,8 @@ import json from pathlib import Path -from sys import stderr import pytest + from pyaegis import aegis128l, aegis128x2, aegis128x4, aegis256, aegis256x2, aegis256x4 from .util import random_split_bytes @@ -172,11 +172,7 @@ def test_encrypt_decrypt_incremental(vector): # Incremental decryption with different random chunking decryptor = alg.Decryptor(key, nonce, ad) pt_chunks = [] - stderr.write(f"CT len={len(computed_ct)}\n") for chunk in random_split_bytes(computed_ct): - stderr.write( - f"Processing chunk of size {len(chunk)} {decryptor.bytes_in=}, out {alg.calc_update_output_size(decryptor.bytes_in, len(chunk))}\n" - ) pt_chunks.append(bytes(decryptor.update(chunk))) final_pt = decryptor.final(expected_tag128) pt_chunks.append(bytes(final_pt))