Skip to content

Commit acc0c18

Browse files
committed
Remove a now worthless test.
1 parent 61597d3 commit acc0c18

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Lib/test/test_unicode.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1422,14 +1422,6 @@ def test_codecs_errors(self):
14221422
self.assertRaises(TypeError, str, b"hello", "test.unicode2")
14231423
self.assertRaises(TypeError, "hello".encode, "test.unicode1")
14241424
self.assertRaises(TypeError, "hello".encode, "test.unicode2")
1425-
# executes PyUnicode_Encode()
1426-
import imp
1427-
self.assertRaises(
1428-
ImportError,
1429-
imp.find_module,
1430-
"non-existing module",
1431-
["non-existing dir"]
1432-
)
14331425

14341426
# Error handling (wrong arguments)
14351427
self.assertRaises(TypeError, "hello".encode, 42, 42, 42)

0 commit comments

Comments
 (0)