aboutsummaryrefslogtreecommitdiffstats
path: root/tests/primitives/test_hash_vectors.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-18 19:51:01 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-18 19:51:01 -0500
commitbb069c2fee6460185ee435ea848d80bab2ccec6c (patch)
tree1adb549d825ae3095096c2d17c035cfdbef45cbe /tests/primitives/test_hash_vectors.py
parentbde6fb52129909cf319157dba95d65fb557d5013 (diff)
downloadcryptography-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.py2
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",
)