aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utils.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-08-09 10:42:44 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-08-09 10:42:44 -0700
commitde9a3ee2d2bea4b862d783c7dbf12cf15aa763a5 (patch)
treead7472aa129efa0c8d33c98d8f48a0a31f09c55e /tests/utils.py
parentb1895f6f786b8be3bbaedf0b17ef1337b71bcfa1 (diff)
downloadcryptography-de9a3ee2d2bea4b862d783c7dbf12cf15aa763a5.tar.gz
cryptography-de9a3ee2d2bea4b862d783c7dbf12cf15aa763a5.tar.bz2
cryptography-de9a3ee2d2bea4b862d783c7dbf12cf15aa763a5.zip
Get stuff working on py3k for real
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 9fe35311..60e7caab 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -35,7 +35,7 @@ def load_nist_vectors(vector_data, op, fields):
# We want to test only for a particular operation
return [
- tuple(vector[1][f] for f in fields)
+ tuple(vector[1][f].encode("ascii") for f in fields)
for vector in sorted(data[op].items(), key=lambda v: v[0])
]