summaryrefslogtreecommitdiffhomepage
path: root/tests/_util.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/_util.py')
-rw-r--r--tests/_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/_util.py b/tests/_util.py
index f0ae1d41..a3f82e09 100644
--- a/tests/_util.py
+++ b/tests/_util.py
@@ -188,7 +188,7 @@ def sha1_signing_unsupported():
)
return False
except UnsupportedAlgorithm as e:
- return e._reason is _Reasons.UNSUPPORTED_HASH
+ return e._reason == _Reasons.UNSUPPORTED_HASH
requires_sha1_signing = unittest.skipIf(