diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2018-06-19 20:36:16 -0700 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2018-06-19 22:36:16 -0500 |
commit | d88d721343828accacefca701a3d542365cd6d59 (patch) | |
tree | c2bee753e60f584a9743041d929c5854cc762104 /tests | |
parent | 1b17cb2aa468321c295c181c9fbb6ba6154be340 (diff) | |
download | cryptography-d88d721343828accacefca701a3d542365cd6d59.tar.gz cryptography-d88d721343828accacefca701a3d542365cd6d59.tar.bz2 cryptography-d88d721343828accacefca701a3d542365cd6d59.zip |
Correctly pass bytes; refs #4289 (#4290)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hazmat/primitives/test_3des.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_3des.py b/tests/hazmat/primitives/test_3des.py index 586afb47..f281ba28 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", ) |