diff --git a/tests/hazmat/primitives/test_pkcs7.py b/tests/hazmat/primitives/test_pkcs7.py index 186962eaef73..63641d61d412 100644 --- a/tests/hazmat/primitives/test_pkcs7.py +++ b/tests/hazmat/primitives/test_pkcs7.py @@ -1054,7 +1054,7 @@ def test_smime_encrypt_pem_encoding(self, backend, options): def test_smime_encrypt_multiple_recipients(self, backend): data = b"hello world\n" - cert, private_key = _load_rsa_cert_key() + cert, _ = _load_rsa_cert_key() builder = ( pkcs7.PKCS7EnvelopeBuilder() .set_data(data)