diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2021-01-13 12:01:38 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2021-01-14 14:29:59 +0100 |
commit | e902dbd9ad1a045c29f295c0099e42f5ff7e91d8 (patch) | |
tree | 13deb1fc34d9ce48b558a5f2568b2dc59b2969ca /tests | |
parent | 9178c4d56b7270a6b813995f55a4828ce96256d8 (diff) | |
download | m2crypto-e902dbd9ad1a045c29f295c0099e42f5ff7e91d8.tar.gz |
Remove deprecation warnings
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_obj.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_obj.py b/tests/test_obj.py index 55854c3..5f3fe92 100644 --- a/tests/test_obj.py +++ b/tests/test_obj.py @@ -124,7 +124,7 @@ class ObjectsTestCase(unittest.TestCase): try: s.verify(p7, data) except SMIME.PKCS7_Error as e: - self.assertRegexpMatches(str(e), + six.assertRegex(self, str(e), "unable to get local issuer certificate", "Not received expected error message") |