aboutsummaryrefslogtreecommitdiffstats
path: root/tests/primitives/test_hashes.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_hashes.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_hashes.py')
-rw-r--r--tests/primitives/test_hashes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/primitives/test_hashes.py b/tests/primitives/test_hashes.py
index 3419b14d..1bc2e9e9 100644
--- a/tests/primitives/test_hashes.py
+++ b/tests/primitives/test_hashes.py
@@ -20,7 +20,7 @@ from .utils import generate_base_hash_test
class TestSHA1(object):
test_SHA1 = generate_base_hash_test(
- lambda api: hashes.SHA1(api=api),
+ hashes.SHA1,
digest_size=20,
block_size=64,
only_if=lambda api: api.supports_hash("sha1"),