diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index 62a2e324b1ca..80e921a44e5a 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -763,7 +763,7 @@ def __del__(self): pass self.assertEqual(e, (None, None, None)) - def testUnicodeChangeAttributes(self): + def test_unicode_change_attributes(self): # See issue 7309. This was a crasher. u = UnicodeEncodeError('baz', 'xxxxx', 1, 5, 'foo')