aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests/t-decrypt-verify.py
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/tests/t-decrypt-verify.py')
-rwxr-xr-xlang/python/tests/t-decrypt-verify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/tests/t-decrypt-verify.py b/lang/python/tests/t-decrypt-verify.py
index fcaa1346..991d18c9 100755
--- a/lang/python/tests/t-decrypt-verify.py
+++ b/lang/python/tests/t-decrypt-verify.py
@@ -70,7 +70,7 @@ with gpg.Context() as c:
try:
c.decrypt(
open(support.make_filename("cipher-2.asc")), verify=[alpha, bob])
- except gpg.errors.MissingSignatures as e:
+ except Exception as e:
assert len(e.missing) == 1
assert e.missing[0] == bob
else: