From 463db6846a94e29b7ef565d176457f329e6d6db6 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 22 Oct 2013 18:28:31 -0500 Subject: use is for identical object comparison --- tests/primitives/test_hashes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.3