diff options
author | David Reid <dreid@dreid.org> | 2013-11-01 15:50:39 -0700 |
---|---|---|
committer | David Reid <dreid@dreid.org> | 2013-11-01 15:50:39 -0700 |
commit | 87744771e7ef142bf97b46c399421a504a4ce4ad (patch) | |
tree | 9184d1255b8f630f1ff6e60d31c99ddfa6404967 /tests | |
parent | 6753e39c1396dabb05e73ab7b24d9322eecbf976 (diff) | |
download | cryptography-87744771e7ef142bf97b46c399421a504a4ce4ad.tar.gz cryptography-87744771e7ef142bf97b46c399421a504a4ce4ad.tar.bz2 cryptography-87744771e7ef142bf97b46c399421a504a4ce4ad.zip |
TypeErrors are pretty cool, there are lot of reasons you get them.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hazmat/primitives/test_hmac.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_hmac.py b/tests/hazmat/primitives/test_hmac.py index bbaabb22..a44838cf 100644 --- a/tests/hazmat/primitives/test_hmac.py +++ b/tests/hazmat/primitives/test_hmac.py @@ -47,4 +47,4 @@ class TestHMAC(object): def test_hmac_algorithm_instance(self): with pytest.raises(TypeError): - hmac.HMAC(hashes.SHA1) + hmac.HMAC(b"key", hashes.SHA1) |