diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_rsa.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_rsa.py b/tests/test_rsa.py index 7028b60..a1d0805 100644 --- a/tests/test_rsa.py +++ b/tests/test_rsa.py @@ -130,7 +130,7 @@ class RSATestCase(unittest.TestCase): self.assertEqual(res, self.data) # no_padding - with six.assertRaisesRegex(self, TypeError, 'data too small'): + with six.assertRaisesRegex(self, RSA.RSAError, 'data too small'): priv.public_encrypt(self.data, RSA.no_padding) # Type-check the data to be encrypted. |