From 0d6aaf49c1890378ce7ecf741a3a40c859d3b9fb Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Thu, 20 Jul 2017 13:04:25 +0200 Subject: remove deprecated items (#3794) * remove deprecated items whirlpool, ripemd160, unsupportedextension, and the old interfaces * flake8 and remove a test generator we no longe use * make it clear we warned you about these things --- tests/hazmat/primitives/test_hashes.py | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'tests/hazmat/primitives/test_hashes.py') diff --git a/tests/hazmat/primitives/test_hashes.py b/tests/hazmat/primitives/test_hashes.py index 0e817666..60950aed 100644 --- a/tests/hazmat/primitives/test_hashes.py +++ b/tests/hazmat/primitives/test_hashes.py @@ -109,32 +109,6 @@ class TestSHA512(object): ) -@pytest.mark.supported( - only_if=lambda backend: backend.hash_supported(hashes.RIPEMD160()), - skip_message="Does not support RIPEMD160", -) -@pytest.mark.requires_backend_interface(interface=HashBackend) -class TestRIPEMD160(object): - test_RIPEMD160 = generate_base_hash_test( - hashes.RIPEMD160(), - digest_size=20, - block_size=64, - ) - - -@pytest.mark.supported( - only_if=lambda backend: backend.hash_supported(hashes.Whirlpool()), - skip_message="Does not support Whirlpool", -) -@pytest.mark.requires_backend_interface(interface=HashBackend) -class TestWhirlpool(object): - test_Whirlpool = generate_base_hash_test( - hashes.Whirlpool(), - digest_size=64, - block_size=64, - ) - - @pytest.mark.supported( only_if=lambda backend: backend.hash_supported(hashes.MD5()), skip_message="Does not support MD5", -- cgit v1.2.3