aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_fernet.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-04-29 09:56:26 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-04-29 09:56:26 -0400
commitd12bd10e35116575c5a1a3cabb31484b76c15837 (patch)
treeec999c95a587e06a7cd9eb167d6fe64a17baa097 /tests/test_fernet.py
parent699ec19d8021c4203f7e741094c699292d4ce80f (diff)
parentf12341503136d1755b30aeb13f2ae3e9864199fc (diff)
downloadcryptography-d12bd10e35116575c5a1a3cabb31484b76c15837.tar.gz
cryptography-d12bd10e35116575c5a1a3cabb31484b76c15837.tar.bz2
cryptography-d12bd10e35116575c5a1a3cabb31484b76c15837.zip
Merge pull request #1874 from eeshangarg/starter-project-1870-2
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):