summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-08-03 22:04:15 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-08-03 22:04:15 (GMT)
commit3ceaff0777059c770836e817160f6a81b60c7b18 (patch)
treee5af09bde4f88c68319c3adc07934f78f6fc4411
parent5e376a7809d7efe014f3f9b967a4554d79e10328 (diff)
downloadcpython-3ceaff0777059c770836e817160f6a81b60c7b18.zip
cpython-3ceaff0777059c770836e817160f6a81b60c7b18.tar.gz
cpython-3ceaff0777059c770836e817160f6a81b60c7b18.tar.bz2
Issue #16741: Remove testing of implementation artifact.
-rw-r--r--Lib/test/test_unicode.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py
index b8a5f5e..9dc3438 100644
--- a/Lib/test/test_unicode.py
+++ b/Lib/test/test_unicode.py
@@ -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")