aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/backends
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-08-01 16:30:57 +0100
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-08-01 16:30:57 +0100
commit301952b141eb346fea4c0308e9c54bd94370b145 (patch)
tree41a045b507edd22387355eac01981b03b6e21176 /tests/hazmat/backends
parented07bbc76da5c582fa7449321759ad0598b6e20c (diff)
downloadcryptography-301952b141eb346fea4c0308e9c54bd94370b145.tar.gz
cryptography-301952b141eb346fea4c0308e9c54bd94370b145.tar.bz2
cryptography-301952b141eb346fea4c0308e9c54bd94370b145.zip
this is gonna be unicode now
Diffstat (limited to 'tests/hazmat/backends')
-rw-r--r--tests/hazmat/backends/test_openssl.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py
index a8401b30..040e3677 100644
--- a/tests/hazmat/backends/test_openssl.py
+++ b/tests/hazmat/backends/test_openssl.py
@@ -35,17 +35,17 @@ from ...utils import load_vectors_from_file, raises_unsupported_algorithm
def skip_if_libre_ssl(openssl_version):
- if b'LibreSSL' in openssl_version:
+ if u'LibreSSL' in openssl_version:
pytest.skip("LibreSSL hard-codes RAND_bytes to use arc4random.")
class TestLibreSkip(object):
def test_skip_no(self):
- assert skip_if_libre_ssl(b"OpenSSL 0.9.8zf 19 Mar 2015") is None
+ assert skip_if_libre_ssl(u"OpenSSL 0.9.8zf 19 Mar 2015") is None
def test_skip_yes(self):
with pytest.raises(pytest.skip.Exception):
- skip_if_libre_ssl(b"LibreSSL 2.1.6")
+ skip_if_libre_ssl(u"LibreSSL 2.1.6")
@utils.register_interface(Mode)