diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 00c0fff4db6..9e53213a920 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -1735,8 +1735,6 @@ class UnicodeTest(string_tests.CommonTest, self.assertRaises(TypeError, "hello".encode, 42, 42, 42) # Error handling (lone surrogate in PyUnicode_TransformDecimalToASCII()) - self.assertRaises(UnicodeError, int, "\ud800") - self.assertRaises(UnicodeError, int, "\udf00") self.assertRaises(UnicodeError, float, "\ud800") self.assertRaises(UnicodeError, float, "\udf00") self.assertRaises(UnicodeError, complex, "\ud800")