From eeb14fd91c117acb8138ce4e29323da367d8e2ef Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 28 Oct 2014 09:32:15 -0700 Subject: fix --- tests/hazmat/backends/test_openssl.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/hazmat/backends/test_openssl.py') diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py index ebd8686c..bc6a2bac 100644 --- a/tests/hazmat/backends/test_openssl.py +++ b/tests/hazmat/backends/test_openssl.py @@ -439,8 +439,7 @@ class TestOpenSSLCMAC(object): def test_unsupported_cipher(self): @utils.register_interface(BlockCipherAlgorithm) class FakeAlgorithm(object): - def __init__(self): - self.block_size = 64 + block_size = 64 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_CIPHER): backend.create_cmac_ctx(FakeAlgorithm()) -- cgit v1.2.3