diff options
-rw-r--r-- | sites/www/changelog.rst | 2 | ||||
-rw-r--r-- | tests/_util.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sites/www/changelog.rst b/sites/www/changelog.rst index 3f886fc8..d84df4f3 100644 --- a/sites/www/changelog.rst +++ b/sites/www/changelog.rst @@ -2,6 +2,8 @@ Changelog ========= +- :bug:`2420` Modify a test-harness skiptest check to work with newer versions + of Cryptography. Props to Paul Howarth for the patch. - :bug:`2353` Fix a 64-bit-ism in the test suite so the tests don't encounter a false negative on 32-bit systems. Reported by Stanislav Levin. - :release:`3.4.0 <2023-12-18>` 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( |