summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Drung <bdrung@ubuntu.com>2022-04-12 15:56:12 +0200
committerBenjamin Drung <bdrung@ubuntu.com>2022-04-12 15:56:12 +0200
commit548afa2e95c55eff3e49d94263c45833b7a6e3ff (patch)
tree659e4f2e89e17d8834c620f84aefc6a3cda70e40 /tests
parent27cf199381eeda54bac225c7ed1712c42f61f044 (diff)
Blacken tests/util.py
Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/util.py b/tests/util.py
index 542a0671..3ec5d092 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -172,6 +172,7 @@ def sha1_signing_unsupported():
except UnsupportedAlgorithm as e:
return e._reason is _Reasons.UNSUPPORTED_HASH
+
requires_sha1_signing = unittest.skipIf(
sha1_signing_unsupported(), "SHA-1 signing not supported"
)