mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Remove a now worthless test.
This commit is contained in:
parent
61597d3e92
commit
acc0c181a8
1 changed files with 0 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue