From b15d6f47c41aefb67f5d6672e075177d05fdb395 Mon Sep 17 00:00:00 2001 From: Robert de Vries Date: Mon, 18 May 2026 20:21:53 +0200 Subject: [PATCH] Mark unused variable in test code with a leading underscore. --- tests/test_ciphers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ciphers.py b/tests/test_ciphers.py index 0f759ad..921407a 100644 --- a/tests/test_ciphers.py +++ b/tests/test_ciphers.py @@ -1092,7 +1092,7 @@ def test_chacha_set_iv_resets_both_directions(): chacha = ChaCha(key) chacha.set_iv(nonce_a) - ct_a1 = chacha.encrypt(plaintext) + _ct_a1 = chacha.encrypt(plaintext) # Allocate the decryption context too. chacha.decrypt(b"\x00" * 16) # Changing IV must reset both contexts: subsequent encrypt/decrypt