make sure to test UnicodeEncodeError, too
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py
index 7f55aab..dc02cb3 100644
--- a/Lib/test/test_exceptions.py
+++ b/Lib/test/test_exceptions.py
@@ -433,7 +433,7 @@
def test_unicode_errors_no_object(self):
# See issue #21134.
- klasses = UnicodeDecodeError, UnicodeDecodeError, UnicodeTranslateError
+ klasses = UnicodeEncodeError, UnicodeDecodeError, UnicodeTranslateError
for klass in klasses:
self.assertEqual(str(klass.__new__(klass)), "")