mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
Issue #16741: Remove testing of implementation artifact.
This commit is contained in:
parent
5e376a7809
commit
3ceaff0777
@ -1718,8 +1718,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")
|
||||
|
Loading…
Reference in New Issue
Block a user