aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2018-06-19 20:36:08 -0700
committerPaul Kehrer <paul.l.kehrer@gmail.com>2018-06-19 22:36:08 -0500
commit1b17cb2aa468321c295c181c9fbb6ba6154be340 (patch)
treed72b48747513e93f18d8b0d28d397848fe81942e
parent95820b4e4fe23e174cf212639a37df39a157db9d (diff)
downloadcryptography-1b17cb2aa468321c295c181c9fbb6ba6154be340.tar.gz
cryptography-1b17cb2aa468321c295c181c9fbb6ba6154be340.tar.bz2
cryptography-1b17cb2aa468321c295c181c9fbb6ba6154be340.zip
Correct pass bytes; refs #4289 (#4291)
-rw-r--r--tests/hazmat/primitives/test_aes.py2
1 files changed, 1 insertions, 1 deletions
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",
)