[Python-checkins] cpython: Remove a now worthless test.
brett.cannon
python-checkins at python.org
Sat May 12 23:43:32 CEST 2012
http://hg.python.org/cpython/rev/3ab5aa8bc60e
changeset: 76890:3ab5aa8bc60e
user: Brett Cannon <brett at python.org>
date: Sat May 12 17:40:28 2012 -0400
summary:
Remove a now worthless test.
files:
Lib/test/test_unicode.py | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py
--- a/Lib/test/test_unicode.py
+++ b/Lib/test/test_unicode.py
@@ -1422,14 +1422,6 @@
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list