Remove a now worthless test.

This commit is contained in:
Brett Cannon 2012-05-12 17:40:28 -04:00
parent 61597d3e92
commit acc0c181a8
1 changed files with 0 additions and 8 deletions

View File

@ -1422,14 +1422,6 @@ class UnicodeTest(string_tests.CommonTest,
self.assertRaises(TypeError, str, b"hello", "test.unicode2")
self.assertRaises(TypeError, "hello".encode, "test.unicode1")
self.assertRaises(TypeError, "hello".encode, "test.unicode2")
# executes PyUnicode_Encode()
import imp
self.assertRaises(
ImportError,
imp.find_module,
"non-existing module",
["non-existing dir"]
)
# Error handling (wrong arguments)
self.assertRaises(TypeError, "hello".encode, 42, 42, 42)