summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2018-06-19 20:36:16 -0700
committerPaul Kehrer <paul.l.kehrer@gmail.com>2018-06-19 22:36:16 -0500
commitd88d721343828accacefca701a3d542365cd6d59 (patch)
treec2bee753e60f584a9743041d929c5854cc762104
parent1b17cb2aa468321c295c181c9fbb6ba6154be340 (diff)
downloadcryptography-d88d721343828accacefca701a3d542365cd6d59.tar.gz
Correctly pass bytes; refs #4289 (#4290)
-rw-r--r--tests/hazmat/primitives/test_3des.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_3des.py b/tests/hazmat/primitives/test_3des.py
index 586afb475..f281ba288 100644
--- a/tests/hazmat/primitives/test_3des.py
+++ b/tests/hazmat/primitives/test_3des.py
@@ -170,7 +170,7 @@ class TestTripleDESModeCFB8(object):
@pytest.mark.supported(
only_if=lambda backend: backend.cipher_supported(
- algorithms.TripleDES("\x00" * 8), modes.ECB()
+ algorithms.TripleDES(b"\x00" * 8), modes.ECB()
),
skip_message="Does not support TripleDES ECB",
)