diff options
Diffstat (limited to 'Lib/test/string_tests.py')
-rw-r--r-- | Lib/test/string_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py index 7818112..6d87eb6 100644 --- a/Lib/test/string_tests.py +++ b/Lib/test/string_tests.py @@ -70,7 +70,7 @@ class CommonTest(unittest.TestCase): args = self.fixtype(args) with self.assertRaises(exc) as cm: getattr(obj, methodname)(*args) - self.assertNotEqual(cm.exception.message, '') + self.assertNotEqual(cm.exception.args[0], '') # call object.method(*args) without any checks def checkcall(self, object, methodname, *args): |