commit | 87744771e7ef142bf97b46c399421a504a4ce4ad | [log] [tgz] |
---|---|---|
author | David Reid <dreid@dreid.org> | Fri Nov 01 15:50:39 2013 -0700 |
committer | David Reid <dreid@dreid.org> | Fri Nov 01 15:50:39 2013 -0700 |
tree | 9184d1255b8f630f1ff6e60d31c99ddfa6404967 | |
parent | 6753e39c1396dabb05e73ab7b24d9322eecbf976 [diff] |
TypeErrors are pretty cool, there are lot of reasons you get them.
diff --git a/tests/hazmat/primitives/test_hmac.py b/tests/hazmat/primitives/test_hmac.py index bbaabb2..a44838c 100644 --- a/tests/hazmat/primitives/test_hmac.py +++ b/tests/hazmat/primitives/test_hmac.py
@@ -47,4 +47,4 @@ def test_hmac_algorithm_instance(self): with pytest.raises(TypeError): - hmac.HMAC(hashes.SHA1) + hmac.HMAC(b"key", hashes.SHA1)