From 87744771e7ef142bf97b46c399421a504a4ce4ad Mon Sep 17 00:00:00 2001 From: David Reid Date: Fri, 1 Nov 2013 15:50:39 -0700 Subject: TypeErrors are pretty cool, there are lot of reasons you get them. --- tests/hazmat/primitives/test_hmac.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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) -- cgit v1.2.3