From 1b17cb2aa468321c295c181c9fbb6ba6154be340 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 19 Jun 2018 20:36:08 -0700 Subject: Correct pass bytes; refs #4289 (#4291) --- tests/hazmat/primitives/test_aes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hazmat/primitives/test_aes.py b/tests/hazmat/primitives/test_aes.py index a2a29881..d6f83ebc 100644 --- a/tests/hazmat/primitives/test_aes.py +++ b/tests/hazmat/primitives/test_aes.py @@ -85,7 +85,7 @@ class TestAESModeCBC(object): @pytest.mark.supported( only_if=lambda backend: backend.cipher_supported( - algorithms.AES("\x00" * 16), modes.ECB() + algorithms.AES(b"\x00" * 16), modes.ECB() ), skip_message="Does not support AES ECB", ) -- cgit v1.2.3