diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-10-22 18:28:31 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-10-22 18:28:31 -0500 |
commit | 463db6846a94e29b7ef565d176457f329e6d6db6 (patch) | |
tree | 84c3ecedc2640c652afd3a61a7e19af5fddd9019 /tests/primitives/test_hashes.py | |
parent | 7a2a19176716530e938e31e09eac2dde679031ab (diff) | |
download | cryptography-463db6846a94e29b7ef565d176457f329e6d6db6.tar.gz cryptography-463db6846a94e29b7ef565d176457f329e6d6db6.tar.bz2 cryptography-463db6846a94e29b7ef565d176457f329e6d6db6.zip |
use is for identical object comparison
Diffstat (limited to 'tests/primitives/test_hashes.py')
-rw-r--r-- | tests/primitives/test_hashes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/primitives/test_hashes.py b/tests/primitives/test_hashes.py index 07e2d8e7..46517701 100644 --- a/tests/primitives/test_hashes.py +++ b/tests/primitives/test_hashes.py @@ -52,7 +52,7 @@ class TestDefaultAPISHA1(object): This test assumes the presence of SHA1 in the default API. """ h = hashes.SHA1() - assert h._api == _default_api + assert h._api is _default_api class TestSHA1(object): |