From 5404b865504f8203729094bdbf6d1533af8c8810 Mon Sep 17 00:00:00 2001 From: Justin Quick <justquick@gmail.com> Date: Sat, 28 Jun 2014 12:53:06 -0400 Subject: [PATCH] bytes for everything in encoding tests --- tests/test_encoding.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_encoding.py b/tests/test_encoding.py index 04d629d3..be256a26 100644 --- a/tests/test_encoding.py +++ b/tests/test_encoding.py @@ -17,8 +17,8 @@ import nacl.encoding import nacl.secret -KEY = "1" * nacl.secret.SecretBox.KEY_SIZE -NONCE = "1" * nacl.secret.SecretBox.NONCE_SIZE +KEY = b"1" * nacl.secret.SecretBox.KEY_SIZE +NONCE = b"1" * nacl.secret.SecretBox.NONCE_SIZE TEXT = b"The quick brown fox jumps over the lazy dog" VECTORS = [ # Encoder, Ciphertext -- GitLab