diff options
Diffstat (limited to 'tests/test_obj.py')
-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") |