summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-05-12 21:40:28 (GMT)
committerBrett Cannon <brett@python.org>2012-05-12 21:40:28 (GMT)
commitacc0c181a85143e0113f1ec9cb838e86cd8df50f (patch)
treeec9b057c9bfa5d92b2b4cbb7bd80bb1c2a1bb3b0 /Lib
parent61597d3e9282b71126692f5642a6d57ebe633afd (diff)
downloadcpython-acc0c181a85143e0113f1ec9cb838e86cd8df50f.zip
cpython-acc0c181a85143e0113f1ec9cb838e86cd8df50f.tar.gz
cpython-acc0c181a85143e0113f1ec9cb838e86cd8df50f.tar.bz2
Remove a now worthless test.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_unicode.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py
index 2eadd4d..4024be7 100644
--- a/Lib/test/test_unicode.py
+++ b/Lib/test/test_unicode.py
@@ -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)