Date: Saturday, October 29, 2022 @ 21:11:16
Author: grawlinson
Revision: 1339346
FS#76281
Added:
python-pgpy/trunk/idea-deprecation.patch
------------------------+
idea-deprecation.patch | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
Added: idea-deprecation.patch
===================================================================
--- idea-deprecation.patch (rev 0)
+++ idea-deprecation.patch 2022-10-29 21:11:16 UTC (rev 1339346)
@@ -0,0 +1,16 @@
+--- a/tests/test_10_exceptions.py
++++ b/tests/test_10_exceptions.py
+@@ -230,11 +230,11 @@ class TestPGPKey(object):
+ rsa_pub.subkeys['EEE097A017B979CA'].encrypt(PGPMessage.new('asdf'),
+
cipher=SymmetricKeyAlgorithm.CAST5)
+
+- w = recwarn.pop(UserWarning)
++ w = recwarn.list[-2]
+ assert str(w.message) == "Selected symmetric algorithm not in key
preferences"
+ assert w.filename == __file__
+
+- w = recwarn.pop(UserWarning)
++ w = recwarn.list[-1]
+ assert str(w.message) == "Selected compression algorithm not in key
preferences"
+ assert w.filename == __file__
+