aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_fernet.py
diff options
context:
space:
mode:
authorEeshan Garg <jerryguitarist@gmail.com>2015-04-29 18:41:00 +0530
committerEeshan Garg <jerryguitarist@gmail.com>2015-04-29 18:41:00 +0530
commitf12341503136d1755b30aeb13f2ae3e9864199fc (patch)
tree15c66edf7c70776e959a3caa703e34488e91fcbc /tests/test_fernet.py
parent813c3280a47dfb163367cc12e7b85e6f301a7695 (diff)
downloadcryptography-f12341503136d1755b30aeb13f2ae3e9864199fc.tar.gz
cryptography-f12341503136d1755b30aeb13f2ae3e9864199fc.tar.bz2
cryptography-f12341503136d1755b30aeb13f2ae3e9864199fc.zip
Replace the remaining occurrences of six.u with the u prefix
Diffstat (limited to 'tests/test_fernet.py')
-rw-r--r--tests/test_fernet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_fernet.py b/tests/test_fernet.py
index 5b7a9f98..0b93f017 100644
--- a/tests/test_fernet.py
+++ b/tests/test_fernet.py
@@ -99,9 +99,9 @@ class TestFernet(object):
def test_unicode(self, backend):
f = Fernet(base64.urlsafe_b64encode(b"\x00" * 32), backend=backend)
with pytest.raises(TypeError):
- f.encrypt(six.u(""))
+ f.encrypt(u"")
with pytest.raises(TypeError):
- f.decrypt(six.u(""))
+ f.decrypt(u"")
@pytest.mark.parametrize("message", [b"", b"Abc!", b"\x00\xFF\x00\x80"])
def test_roundtrips(self, message, backend):