aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_cmac.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hazmat/primitives/test_cmac.py')
-rw-r--r--tests/hazmat/primitives/test_cmac.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/hazmat/primitives/test_cmac.py b/tests/hazmat/primitives/test_cmac.py
index 64befd63..08b6bf5d 100644
--- a/tests/hazmat/primitives/test_cmac.py
+++ b/tests/hazmat/primitives/test_cmac.py
@@ -10,8 +10,6 @@ import pretend
import pytest
-import six
-
from cryptography.exceptions import (
AlreadyFinalized, InvalidSignature, _Reasons
)
@@ -170,10 +168,10 @@ class TestCMAC(object):
cmac = CMAC(AES(key), backend)
with pytest.raises(TypeError):
- cmac.update(six.u(''))
+ cmac.update(u'')
with pytest.raises(TypeError):
- cmac.verify(six.u(''))
+ cmac.verify(u'')
@pytest.mark.supported(
only_if=lambda backend: backend.cmac_algorithm_supported(