summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2019-05-31 17:00:14 +0200
committerMatěj Cepl <mcepl@cepl.eu>2019-06-07 10:48:21 +0200
commit83d4d9bc3aa4466e540fa00f8cc6891c0301ec82 (patch)
tree5f81057c69178de783b58ad734e191ddb3312fd9 /tests
parentef26214e5bc46f52ea701c953e329281b9d844e6 (diff)
downloadm2crypto-83d4d9bc3aa4466e540fa00f8cc6891c0301ec82.tar.gz
Remove duplicate call of the error code.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_rsa.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_rsa.py b/tests/test_rsa.py
index 308b1b1..875b59c 100644
--- a/tests/test_rsa.py
+++ b/tests/test_rsa.py
@@ -126,8 +126,6 @@ class RSATestCase(unittest.TestCase):
ctxt = priv.public_encrypt(self.data, RSA.sslv23_padding)
with self.assertRaises(RSA.RSAError):
priv.private_decrypt(ctxt, RSA.sslv23_padding)
- with self.assertRaises(RSA.RSAError):
- priv.private_decrypt(ctxt, RSA.sslv23_padding)
# no_padding
with self.assertRaises(RSA.RSAError):