Commit 3ceaff07 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #16741: Remove testing of implementation artifact.

parent 5e376a78
...@@ -1718,8 +1718,6 @@ class UnicodeTest(string_tests.CommonTest, ...@@ -1718,8 +1718,6 @@ class UnicodeTest(string_tests.CommonTest,
self.assertRaises(TypeError, "hello".encode, 42, 42, 42) self.assertRaises(TypeError, "hello".encode, 42, 42, 42)
# Error handling (lone surrogate in PyUnicode_TransformDecimalToASCII()) # 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, "\ud800")
self.assertRaises(UnicodeError, float, "\udf00") self.assertRaises(UnicodeError, float, "\udf00")
self.assertRaises(UnicodeError, complex, "\ud800") self.assertRaises(UnicodeError, complex, "\ud800")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment