Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b09ba1 commit e331121Copy full SHA for e331121
1 file changed
Lib/test/test_exceptions.py
@@ -802,7 +802,7 @@ def test_unicode_change_attributes(self):
802
803
def test_unicode_errors_no_object(self):
804
# See issue #21134.
805
- klasses = UnicodeDecodeError, UnicodeDecodeError, UnicodeTranslateError
+ klasses = UnicodeEncodeError, UnicodeDecodeError, UnicodeTranslateError
806
for klass in klasses:
807
self.assertEqual(str(klass.__new__(klass)), "")
808
0 commit comments