From d88d721343828accacefca701a3d542365cd6d59 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 19 Jun 2018 20:36:16 -0700 Subject: Correctly pass bytes; refs #4289 (#4290) --- tests/hazmat/primitives/test_3des.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", ) -- cgit v1.2.3