diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-10-18 19:51:01 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-10-18 19:51:01 -0500 |
commit | bb069c2fee6460185ee435ea848d80bab2ccec6c (patch) | |
tree | 1adb549d825ae3095096c2d17c035cfdbef45cbe /tests/primitives/test_hash_vectors.py | |
parent | bde6fb52129909cf319157dba95d65fb557d5013 (diff) | |
download | cryptography-bb069c2fee6460185ee435ea848d80bab2ccec6c.tar.gz cryptography-bb069c2fee6460185ee435ea848d80bab2ccec6c.tar.bz2 cryptography-bb069c2fee6460185ee435ea848d80bab2ccec6c.zip |
remove unneeded lambdas from tests
Diffstat (limited to 'tests/primitives/test_hash_vectors.py')
-rw-r--r-- | tests/primitives/test_hash_vectors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/primitives/test_hash_vectors.py b/tests/primitives/test_hash_vectors.py index 4b71ad70..8198b086 100644 --- a/tests/primitives/test_hash_vectors.py +++ b/tests/primitives/test_hash_vectors.py @@ -29,7 +29,7 @@ class TestSHA1(object): "SHA1LongMsg.rsp", "SHA1ShortMsg.rsp", ], - lambda api: hashes.SHA1(api=api), + hashes.SHA1, only_if=lambda api: api.supports_hash("sha1"), skip_message="Does not support SHA1", ) |