diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-12-20 22:59:02 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-12-20 23:42:05 -0600 |
commit | a620b7dfc15cf945a589e9d472b01db6f48a50a5 (patch) | |
tree | 91e304fd6bbdfaa8ecc42bfa68da6fda37f963f6 /tests/hazmat/primitives/test_arc4.py | |
parent | 9b9318d79ba5927603b120411d13b607938cae56 (diff) | |
download | cryptography-a620b7dfc15cf945a589e9d472b01db6f48a50a5.tar.gz cryptography-a620b7dfc15cf945a589e9d472b01db6f48a50a5.tar.bz2 cryptography-a620b7dfc15cf945a589e9d472b01db6f48a50a5.zip |
don't modify params on parametrized tests
multiple backends receive the same params dicts, but we were modifying
them using pop.
Diffstat (limited to 'tests/hazmat/primitives/test_arc4.py')
-rw-r--r-- | tests/hazmat/primitives/test_arc4.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_arc4.py b/tests/hazmat/primitives/test_arc4.py index d233bec2..7ce93061 100644 --- a/tests/hazmat/primitives/test_arc4.py +++ b/tests/hazmat/primitives/test_arc4.py @@ -35,7 +35,7 @@ class TestARC4(object): "rfc-6229-192.txt", "rfc-6229-256.txt", ], - lambda key: algorithms.ARC4(binascii.unhexlify((key))), + lambda **kwargs: algorithms.ARC4(binascii.unhexlify((kwargs["key"]))), only_if=lambda backend: backend.cipher_supported( algorithms.ARC4("\x00" * 16), None ), |