diff options
author | Eeshan Garg <jerryguitarist@gmail.com> | 2015-04-29 17:51:55 +0530 |
---|---|---|
committer | Eeshan Garg <jerryguitarist@gmail.com> | 2015-04-29 17:51:55 +0530 |
commit | 424c0e253fe871dbc61b704caef0e0877b7e46f0 (patch) | |
tree | 4261827c08740791a378c71c08dc0f7da6be11af /tests/hazmat/primitives/test_cmac.py | |
parent | 813c3280a47dfb163367cc12e7b85e6f301a7695 (diff) | |
download | cryptography-424c0e253fe871dbc61b704caef0e0877b7e46f0.tar.gz cryptography-424c0e253fe871dbc61b704caef0e0877b7e46f0.tar.bz2 cryptography-424c0e253fe871dbc61b704caef0e0877b7e46f0.zip |
Refs #1870 - replace six.u with u prefix in tests/hazmat/primitives
Diffstat (limited to 'tests/hazmat/primitives/test_cmac.py')
-rw-r--r-- | tests/hazmat/primitives/test_cmac.py | 6 |
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( |