From fb39b3ffc6fcd3df0f89cd3978796a4377335075 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 16 Oct 2013 14:30:59 -0700 Subject: Rewrite to avoid capitalization issues --- tests/primitives/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/primitives/utils.py b/tests/primitives/utils.py index e4cb8da7..3cf08c28 100644 --- a/tests/primitives/utils.py +++ b/tests/primitives/utils.py @@ -39,4 +39,4 @@ def encrypt_test(api, cipher_factory, mode_factory, params, only_if, ) actual_ciphertext = cipher.encrypt(binascii.unhexlify(plaintext)) actual_ciphertext += cipher.finalize() - assert binascii.hexlify(actual_ciphertext) == ciphertext + assert actual_ciphertext == binascii.unhexlify(ciphertext) -- cgit v1.2.3